Last active
March 28, 2018 06:23
-
-
Save co3moz/e49740d499e12330d0a2 to your computer and use it in GitHub Desktop.
just glsl starter boilerplate :)
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
precision mediump float; | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
void main() { | |
vec2 aspect = resolution.xy / min(resolution.x, resolution.y); | |
vec2 position = (gl_FragCoord.xy / resolution.xy) * aspect; | |
vec4 color = vec4(0.0); | |
gl_FragColor = color; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spiral Tube
Buffer example