浏览代码

rename uniform texture

aardgoose 6 年之前
父节点
当前提交
78dfdfe786
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 ) );
 
 			}