From 9acc6b19c6efefb75ee5bc409df3e9346bd07d73 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 31 May 2024 22:44:35 +0300 Subject: Load glTF --- src/shader.frag | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/shader.frag') diff --git a/src/shader.frag b/src/shader.frag index 075c2ae..1818cc8 100644 --- a/src/shader.frag +++ b/src/shader.frag @@ -17,9 +17,10 @@ layout(binding = 0) uniform UniformBufferObject { } ubo; void main() { - float pulse = sin(ubo.time * .2) * .5 + .5; - outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb * pulse, 1.0); + // float pulse = sin(ubo.time * .2) * .5 + .5; + // outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb * pulse, 1.0); //outColor = texture(texSampler, fragTexCoord); + outColor = vec4(fragColor, 1); // float repeat = 10; // float f = mod(ubo.time, repeat); // if (f < repeat / 2) { -- cgit v1.2.3