13 lines
250 B
GLSL
13 lines
250 B
GLSL
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
// glslsandbox uniforms
|
|
uniform float time;
|
|
uniform vec2 resolution;
|
|
|
|
// shadertoy emulation
|
|
#define iTime time
|
|
#define iResolution resolution
|
|
#define fragCoord gl_FragCoord
|
|
#define fragColor gl_FragColor |