fix: small optimizations

This commit is contained in:
2025-11-09 18:40:01 +01:00
parent 700f75f43b
commit 800503bbad
2 changed files with 20 additions and 18 deletions
+2
View File
@@ -26,5 +26,7 @@ void main() {
float k = mean(color_a);
mix_value = mix(mix_value * 0.9 + 0.05, mix_value, iDemo);
fragColor = mix(color_b, color_a, mix_type ? step(mix_value, k) : mix_value);
}