소스 검색

remove stray gamma correction from ToneMapShader.

Ben Houston 10 년 전
부모
커밋
4fd2c9627f
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      examples/js/shaders/ToneMapShader.js

+ 0 - 2
examples/js/shaders/ToneMapShader.js

@@ -67,8 +67,6 @@ THREE.ToneMapShader = {
 			"vec4 texel = texture2D( tDiffuse, vUv );",
 			
 			"gl_FragColor = vec4( ToneMap( texel.xyz ), texel.w );",
-			//Gamma 2.0
-			"gl_FragColor.xyz = sqrt( gl_FragColor.xyz );",
 
 		"}"