Last active
April 29, 2016 19:43
-
-
Save tripplyons/f2801914536d5ce94068ae3716b77ff6 to your computer and use it in GitHub Desktop.
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
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
#extension GL_OES_standard_derivatives : enable | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
vec4 live = vec4(1.,1.,1.,1.); | |
vec4 dead = vec4(0.,0.,0.,1.); | |
void main( void ) { | |
vec2 position = ( gl_FragCoord.xy / resolution.xy ) + mouse / 4.0; | |
gl_FragColor = dead; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment