13 lines
250 B
Plaintext
13 lines
250 B
Plaintext
|
#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
|