├── README.md └── fragment_shader ├── shader.frag └── index.html /README.md: -------------------------------------------------------------------------------- 1 | Hey! Here are some templates to get you started with a full-screen demo of your project. 2 | -------------------------------------------------------------------------------- /fragment_shader/shader.frag: -------------------------------------------------------------------------------- 1 | // Author: 2 | // Title: 3 | 4 | #ifdef GL_ES 5 | precision mediump float; 6 | #endif 7 | 8 | uniform vec2 u_resolution; 9 | uniform vec2 u_mouse; 10 | uniform float u_time; 11 | 12 | void main() { 13 | vec2 xy10 = mod(gl_FragCoord.xy / 10.0, 1.0); 14 | 15 | gl_FragColor = vec4(xy10,1.0,1.0); 16 | } 17 | -------------------------------------------------------------------------------- /fragment_shader/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 20 | 21 | 22 | --------------------------------------------------------------------------------