We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2981a3b commit 7681c38Copy full SHA for 7681c38
1 file changed
src/point.vs
@@ -29,7 +29,7 @@ void main() {
29
float stateRowIndex = floor((stateIndex + eps) / stateTexRes);
30
vec2 stateTexIndex = vec2(
31
(stateIndex / stateTexRes) - stateRowIndex + eps,
32
- stateRowIndex / stateTexRes
+ stateRowIndex / stateTexRes + eps
33
);
34
35
vec4 state = texture2D(stateTex, stateTexIndex);
@@ -53,7 +53,7 @@ void main() {
53
54
vec2 colorTexIndex = vec2(
55
(colorLinearIndex / colorTexRes) - colorRowIndex + eps,
56
- colorRowIndex / colorTexRes
+ colorRowIndex / colorTexRes + eps
57
58
59
color = texture2D(colorTex, colorTexIndex);
0 commit comments