summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-03-15 15:34:48 +0200
committergrm <grm@eyesin.space>2026-03-15 15:34:48 +0200
commitbe76c15a8e9e32485bbfafa1efa7c26400910b8f (patch)
tree3da3dbfb7c009f8bf157d6465dcc6b4e76303916 /src/shader.frag
parent650e5afde271d22b3653832daf339e1bd09a10d6 (diff)
downloadcgame-be76c15a8e9e32485bbfafa1efa7c26400910b8f.tar.gz
cgame-be76c15a8e9e32485bbfafa1efa7c26400910b8f.tar.bz2
cgame-be76c15a8e9e32485bbfafa1efa7c26400910b8f.zip
better vma debugHEADmaster
Diffstat (limited to 'src/shader.frag')
-rw-r--r--src/shader.frag6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shader.frag b/src/shader.frag
index 0b45743..cba9365 100644
--- a/src/shader.frag
+++ b/src/shader.frag
@@ -17,9 +17,9 @@ layout(binding = 0) uniform UniformBufferObject {
} ubo;
void main() {
- float pulse = sin(ubo.time * 20) * .5 + .5;
- outColor = vec4(fragColor * texture(texSampler, fragTexCoord).rgb , 1.0);
- //outColor = texture(texSampler, fragTexCoord);
+ float pulse = sin(ubo.time * 2) * .5 + .5;
+ // 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);