kik shader: derive step from resolution so the full preview scales

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
April John 2026-10-16 14:52:49 +02:00
commit b158c36502

View file

@ -150,7 +150,7 @@ vec3 events(vec3 col, float i, float t) {
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
float i = floor(fragCoord.x);
float i = floor(fragCoord.x / iResolution.x * 16.0); // step, also in the big preview
float t = iTime;
float k = floor(t / SCENE_LEN);