Skip to content

Commit 191e032

Browse files
committed
Improve color accuracy
1 parent cfd69dd commit 191e032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/materials/shaders/convolution.downsampling.frag

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

44
// (1 / 4) * 0.5 = 0.125
55
#define WEIGHT_INNER 0.125
6-
// (1 / 9) * 0.5 = 0.0555555
7-
#define WEIGHT_OUTER 0.0555555
6+
// (1 / 9) * 0.5 0.05556
7+
#define WEIGHT_OUTER 0.05556
88

99
in vec2 vUv;
1010
in vec2 vUv00, vUv01, vUv02, vUv03;

0 commit comments

Comments
 (0)