shaders

assortment of fragment shaders.
Log | Files | Refs | README | LICENSE

commit bb966bebb323a2ad4a879789ff1f3c2a0ddf20d9
parent ee31eac51c87741105425addc07fb807e8e2dcb3
Author: mpizzzle <m@michaelpercival.xyz>
Date:   Sat, 22 Aug 2020 12:44:22 +0100

renaming magenta -> cycle

Diffstat:
Rmagenta.frag -> cycle.frag | 0
Atest.frag | 12++++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/magenta.frag b/cycle.frag diff --git a/test.frag b/test.frag @@ -0,0 +1,12 @@ +#version 120 +#ifdef GL_ES +precision mediump float; +#endif + +uniform vec2 u_resolution; +uniform float u_time; + +void main() { + vec2 st = gl_FragCoord.xy/ u_resolution.xy; + gl_FragColor=vec4(st.x, st.y, 0.5, 1.0); +}