summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2024-05-31 22:44:35 +0300
committergrm <grm@eyesin.space>2024-05-31 22:44:35 +0300
commit407a038b19abda6ab781b32a4895de56d9edb8df (patch)
tree113831fe97b39a0d2fa2d2cd8c825a8d2e13c657 /src/shader.frag
parent8934f18264dc5293f42e8add3cd32f59ddb13af3 (diff)
downloadcgame-407a038b19abda6ab781b32a4895de56d9edb8df.tar.gz
cgame-407a038b19abda6ab781b32a4895de56d9edb8df.tar.bz2
cgame-407a038b19abda6ab781b32a4895de56d9edb8df.zip
Load glTF
Diffstat (limited to 'src/shader.frag')
-rw-r--r--src/shader.frag5
1 files changed, 3 insertions, 2 deletions
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) {