dotfiles/user-modules/desktop/background/glpaper/shaders/shadertoy.glsl

13 lines
250 B
Plaintext
Raw Normal View History

2024-07-20 04:10:56 +00:00
#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