浏览代码

Seriously...
+Nightly to fix it asap

David Catuhe 7 年之前
父节点
当前提交
ee2d4398c0

文件差异内容过多而无法显示
+ 6636 - 6636
Playground/babylon.d.txt


文件差异内容过多而无法显示
+ 9594 - 9594
dist/preview release/babylon.d.ts


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.max.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.worker.js


文件差异内容过多而无法显示
+ 9056 - 9056
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/es6.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/es6.js


文件差异内容过多而无法显示
+ 59 - 59
dist/preview release/viewer/babylon.viewer.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js


+ 2 - 2
src/Shaders/pbr.fragment.fx

@@ -605,11 +605,11 @@ void main(void) {
 	#endif
 
 	#ifdef LIGHTMAP
-		vec3 lightmapColor = texture2D(lightmapSampler, vLightmapUV + uvOffset).rgb);
+		vec3 lightmapColor = texture2D(lightmapSampler, vLightmapUV + uvOffset).rgb;
 		#ifdef GAMMALIGHTMAP
 			lightmapColor = toLinearSpace(lightmapColor);
 		#endif
-		lightmapColor *= vLightmapInfos.y
+		lightmapColor *= vLightmapInfos.y;
 	#endif
 
 		lightingInfo info;