提交 898e528e 编写于 作者: A alteredq

Merge remote-tracking branch 'remotes/zz85/master' into dev

......@@ -901,7 +901,8 @@ THREE.ShaderExtras = {
"sum += texture2D( tDiffuse, vec2( vUv.x + 3.0 * h, vUv.y ) ) * 0.09;",
"sum += texture2D( tDiffuse, vec2( vUv.x + 4.0 * h, vUv.y ) ) * 0.05;",
"gl_FragColor = sum / 0.98;", // normalize
"gl_FragColor.xyz = sum.xyz/0.98;", // normalize
"gl_FragColor.a = 1.;",
"}"
......@@ -953,7 +954,8 @@ THREE.ShaderExtras = {
"sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 3.0 * v ) ) * 0.09;",
"sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 4.0 * v ) ) * 0.05;",
"gl_FragColor.xyz = sum / 0.98;",
"gl_FragColor.xyz = sum.xyz/0.98;",
"gl_FragColor.a = 1.;",
"}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册