Skip to content

Commit 59734bf

Browse files
authored
typo (#621)
1 parent 84d6354 commit 59734bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/textures/shaders/flatFrag.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void main() {
9393

9494
float strength = sample1(localCoord, textureIdx);
9595
bool valid = (strength >= threshold.x) && (strength <= threshold.y);
96-
if (!valid || abs(dispStrength - fillValue) < 0.005){
96+
if (!valid || abs(strength - fillValue) < 0.005){
9797
Color = vec4(0.);
9898
return;
9999
}

0 commit comments

Comments
 (0)