Jelajahi Sumber

fix bug with regards to emissiveMapTexelToLinear...

Ben Houston 9 tahun lalu
induk
melakukan
7ea1c679b3

+ 1 - 1
src/renderers/shaders/ShaderChunk/emissivemap_pars_fragment.glsl

@@ -3,7 +3,7 @@
 	uniform sampler2D emissiveMap;
 
 	vec4 emissiveMapTexelToLinear( vec4 value ) {
-		#define DECODE_MACRO EMISSIVEMAP_ENCODING
+		#define MACRO_DECODE EMISSIVEMAP_ENCODING
 			#include <encoding_template>
 		#undef MACRO_DECODE
 	}