Explorar o código

rename uniform texture

aardgoose %!s(int64=6) %!d(string=hai) anos
pai
achega
78dfdfe786
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/webgl_postprocessing_unreal_bloom_selective.html

+ 2 - 2
examples/webgl_postprocessing_unreal_bloom_selective.html

@@ -33,9 +33,9 @@
 
 			varying vec2 vUv;
 
-			vec4 getTexture( sampler2D texture ) {
+			vec4 getTexture( sampler2D texelToLinearTexture ) {
 
-				return mapTexelToLinear( texture2D( texture , vUv ) );
+				return mapTexelToLinear( texture2D( texelToLinearTexture , vUv ) );
 
 			}