fixed speeds

This commit is contained in:
2025-05-16 13:52:15 +03:00
parent efd18c8049
commit 029fae48bd
2 changed files with 9 additions and 8 deletions

View File

@ -27,7 +27,7 @@ void main() {
int col = int(mod(gl_FragCoord.x, 4));
int row = int(mod(gl_FragCoord.y, 4));
float threshold = float(bayer16[col + 4 * row]) / 16.0 - 0.5;
grey = clamp(grey + threshold * 0.2 , 0.01, 0.99);
grey = clamp(grey + threshold * 0.1 , 0.01, 0.99);
vec2 paluv = vec2(grey, 0.5);
vec4 paletteValue = texture(texture1, paluv);