Explorar o código

Fix a bug that thicknessMap is not loaded correctly in the shader (#22116)

Takahiro %!s(int64=4) %!d(string=hai) anos
pai
achega
5a33c5632b

+ 1 - 1
src/renderers/shaders/ShaderChunk/transmission_fragment.glsl.js

@@ -10,7 +10,7 @@ export default /* glsl */`
 
 	#endif
 
-	#ifdef USE_THICKNESSNMAP
+	#ifdef USE_THICKNESSMAP
 
 		thicknessFactor *= texture2D( thicknessMap, vUv ).g;