Jelajahi Sumber

Removed unused code.

bkaradzic 13 tahun lalu
induk
melakukan
150d02e756
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      examples/06-bump/fs_bump.sc

+ 1 - 1
examples/06-bump/fs_bump.sc

@@ -76,7 +76,7 @@ void main()
 
 
 	vec4 color = toLinear(texture2D(u_texColor, v_texcoord0) );
 	vec4 color = toLinear(texture2D(u_texColor, v_texcoord0) );
 
 
-	gl_FragColor.xyz = max(vec3_splat(0.05), lightColor.xyz)*color.xyz; // + fres*pow(lc.z, 128.0); //normal.xyz; //color.xyz; //*normal;
+	gl_FragColor.xyz = max(vec3_splat(0.05), lightColor.xyz)*color.xyz;
 	gl_FragColor.w = 1.0;
 	gl_FragColor.w = 1.0;
 	gl_FragColor = toGamma(gl_FragColor);
 	gl_FragColor = toGamma(gl_FragColor);
 }
 }