Skip to content

Commit f2b87ab

Browse files
committed
Improve color accuracy
1 parent 195026b commit f2b87ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/materials/glsl/convolution.downsampling.frag

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
// (1 / 4) * 0.5 = 0.125
1212
#define WEIGHT_INNER 0.125
13-
// (1 / 9) * 0.5 = 0.0555555
14-
#define WEIGHT_OUTER 0.0555555
13+
// (1 / 9) * 0.5 0.05556
14+
#define WEIGHT_OUTER 0.05556
1515

1616
varying vec2 vUv;
1717
varying vec2 vUv00;

0 commit comments

Comments
 (0)