From 67eec36945ed1706f23d0fe6d3017a09516dc42b Mon Sep 17 00:00:00 2001 From: grm Date: Fri, 3 Jan 2025 02:14:17 +0200 Subject: Prepare for compute --- src/shader.frag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shader.frag') diff --git a/src/shader.frag b/src/shader.frag index fc16ceb..6f5abb6 100644 --- a/src/shader.frag +++ b/src/shader.frag @@ -18,8 +18,8 @@ layout(binding = 0) uniform UniformBufferObject { void main() { float pulse = sin(ubo.time * 20) * .5 + .5; - outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb * pulse, 1.0); - // outColor = texture(texSampler, fragTexCoord); + 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); -- cgit v1.2.3