Created
December 6, 2019 13:15
-
-
Save diessica/4e64b4897656d2646d57e925ed221b00 to your computer and use it in GitHub Desktop.
trippy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main () { | |
float frequency = 5.; | |
vec2 p = uv(); | |
float color = sin( p.y / p.x * time * frequency ); | |
gl_FragColor = vec4( color + 1.,color, 0., 1. ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment