summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2025-01-03 02:14:17 +0200
committergrm <grm@eyesin.space>2025-01-03 02:14:17 +0200
commit67eec36945ed1706f23d0fe6d3017a09516dc42b (patch)
treef1cb425c31aee5d30a813a6fdf6e0df82394c9d5 /src/shader.frag
parentbbcc41762f335e90dc850dd9d4a6cc5e51631c7c (diff)
downloadcgame-67eec36945ed1706f23d0fe6d3017a09516dc42b.tar.gz
cgame-67eec36945ed1706f23d0fe6d3017a09516dc42b.tar.bz2
cgame-67eec36945ed1706f23d0fe6d3017a09516dc42b.zip
Prepare for computeHEADmaster
Diffstat (limited to 'src/shader.frag')
-rw-r--r--src/shader.frag4
1 files changed, 2 insertions, 2 deletions
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);