提交 d72fbcce 编写于 作者: A alteredq

Replaced "+=" on uninitialized variable in focus shader in ShaderExtras (thanks to @c0d1f1ed).

Fixes #1766
上级 db52c083
......@@ -708,7 +708,7 @@ THREE.ShaderExtras = {
"vec2 vin;",
"vec2 uv = vUv;",
"add += color = org = texture2D( tDiffuse, uv );",
"add = color = org = texture2D( tDiffuse, uv );",
"vin = ( uv - vec2( 0.5 ) ) * vec2( 1.4 );",
"sample_dist = dot( vin, vin ) * 2.0;",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册