Skip to content

Instantly share code, notes, and snippets.

@Xaychru
Xaychru / TEMPLATE.glsl
Created May 19, 2014 15:16 — forked from glslioadmin/TEMPLATE.glsl
GLSL.io Transition (v1)
#ifdef GL_ES
precision highp float;
#endif
#define PI 3.141592653589
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
@Xaychru
Xaychru / Radial.glsl
Created May 19, 2014 15:18 — forked from glslioadmin/TEMPLATE.glsl
GLSL.io Transition (v1)
#ifdef GL_ES
precision highp float;
#endif
#define PI 3.141592653589
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
@Xaychru
Xaychru / Mosaic.glsl
Created May 19, 2014 16:51 — forked from glslioadmin/TEMPLATE.glsl
GLSL.io Transition (v1)
#ifdef GL_ES
precision highp float;
#endif
#define PI 3.14159265358979323
#define POW2(X) X*X
#define POW3(X) X*X*X
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
uniform int endx;