Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fragment Shader
- void main() {
- vec2 uv = (gl_FragCoord.xy - 0.5 * u_resolution.xy) / u_resolution.y;
- vec3 col = vec3(
- RED *
- YELLOW *
- BLUE *
- GREEN *
- tan(uv.x * sin(u_time * 5.0) * tan(u_time) * 15.0) *
- cos(uv.y * tan(u_time * 5.0) * tan(u_time) * 15.0) *
- 500.0);
- gl_FragColor = vec4(col, 1.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement