summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader.frag')
-rw-r--r--src/shader.frag16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shader.frag b/src/shader.frag
index 6f5abb6..0b45743 100644
--- a/src/shader.frag
+++ b/src/shader.frag
@@ -21,14 +21,14 @@ void main() {
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);
-// if (f < repeat / 2) {
-// outColor = vec4(fragColor * radians(f) ,1);
-// } else {
-// outColor = vec4(fragColor * radians(1 - f) ,1);
-// }
-// //outColor = (vec4(1) * ubo.model + vec4(1)) * vec4(texture(texSampler, fragTexCoord).rgb * fragColor, 1.0);
+ //float repeat = 10;
+ //float f = zmod(ubo.time, repeat);
+ //if (f < repeat / 2) {
+ // outColor = vec4(fragColor * radians(f) ,1);
+ //} else {
+ // outColor = vec4(fragColor * radians(1 - f) ,1);
+ //}
+ //outColor = (vec4(1) * ubo.model + vec4(1)) * vec4(texture(texSampler, fragTexCoord).rgb * fragColor, 1.0);
}
float noise(vec2 p) {