dotfiles/user-modules/desktop/background/glpaper/shaders/shadertoy.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