Selaa lähdekoodia

rename uniform texture

aardgoose 6 vuotta sitten
vanhempi
commit
78dfdfe786
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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 ) );
 
 			}