From 21edd2596ff657fc2de61e8848e74cf3c5c9ef01 Mon Sep 17 00:00:00 2001 From: grm Date: Fri, 13 Mar 2026 22:05:58 +0200 Subject: not sure --- src/shader.frag | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/shader.frag') diff --git a/src/shader.frag b/src/shader.frag index 6f5abb6..0b45743 100644 --- a/src/shader.frag +++ b/src/shader.frag @@ -21,14 +21,14 @@ void main() { outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb , 1.0); //outColor = texture(texSampler, fragTexCoord); //outColor = vec4(fragColor, 1); -// float repeat = 10; -// float f = zmod(ubo.time, repeat); -// if (f < repeat / 2) { -// outColor = vec4(fragColor * radians(f) ,1); -// } else { -// outColor = vec4(fragColor * radians(1 - f) ,1); -// } -// //outColor = (vec4(1) * ubo.model + vec4(1)) * vec4(texture(texSampler, fragTexCoord).rgb * fragColor, 1.0); + //float repeat = 10; + //float f = zmod(ubo.time, repeat); + //if (f < repeat / 2) { + // outColor = vec4(fragColor * radians(f) ,1); + //} else { + // outColor = vec4(fragColor * radians(1 - f) ,1); + //} + //outColor = (vec4(1) * ubo.model + vec4(1)) * vec4(texture(texSampler, fragTexCoord).rgb * fragColor, 1.0); } float noise(vec2 p) { -- cgit v1.2.3