File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ const displayBloomShader = compileShader(gl.FRAGMENT_SHADER, `
404404 vec3 bloom = texture2D(uBloom, vUv).rgb;
405405 vec3 noise = texture2D(uDithering, vUv * ditherScale).rgb;
406406 noise = noise * 2.0 - 1.0;
407- bloom += noise / 255 .0;
407+ bloom += noise / 800 .0;
408408 bloom = pow(bloom.rgb, vec3(1.0 / 2.2));
409409 C += bloom;
410410 float a = max(C.r, max(C.g, C.b));
@@ -479,7 +479,7 @@ const displayBloomShadingShader = compileShader(gl.FRAGMENT_SHADER, `
479479 vec3 bloom = texture2D(uBloom, vUv).rgb;
480480 vec3 noise = texture2D(uDithering, vUv * ditherScale).rgb;
481481 noise = noise * 2.0 - 1.0;
482- bloom += noise / 255 .0;
482+ bloom += noise / 800 .0;
483483 bloom = pow(bloom.rgb, vec3(1.0 / 2.2));
484484 C += bloom;
485485
You can’t perform that action at this time.
0 commit comments