commit c30239d8f832365539c1e846ae32b2983d5108e0 parent 641d83bc6f91b5686b9fc187c7ca2279755847e8 Author: mpizzzle <m@michaelpercival.xyz> Date: Sat, 15 Aug 2020 17:03:16 +0100 adding test shader Diffstat:
| A | magenta.frag | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/magenta.frag b/magenta.frag @@ -0,0 +1,10 @@ +#version 120 +#ifdef GL_ES +precision mediump float; +#endif + +uniform float u_time; + +void main() { + gl_FragColor = vec4(1.0,cos(u_time),1.0,1.0); +}