Browse Source

rename uniform texture

aardgoose 6 years ago
parent
commit
78dfdfe786
1 changed files with 2 additions and 2 deletions
  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;
 			varying vec2 vUv;
 
 
-			vec4 getTexture( sampler2D texture ) {
+			vec4 getTexture( sampler2D texelToLinearTexture ) {
 
 
-				return mapTexelToLinear( texture2D( texture , vUv ) );
+				return mapTexelToLinear( texture2D( texelToLinearTexture , vUv ) );
 
 
 			}
 			}