We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d6354 commit 59734bfCopy full SHA for 59734bf
src/components/textures/shaders/flatFrag.glsl
@@ -93,7 +93,7 @@ void main() {
93
94
float strength = sample1(localCoord, textureIdx);
95
bool valid = (strength >= threshold.x) && (strength <= threshold.y);
96
- if (!valid || abs(dispStrength - fillValue) < 0.005){
+ if (!valid || abs(strength - fillValue) < 0.005){
97
Color = vec4(0.);
98
return;
99
}
0 commit comments