Pixel Shader Academy

Stage 1

Hint

Preview 512×512
fragment.glsl

Textures

Each uploaded image fills the next free slot — sample it in your shader via u_texture0 .. u_texture3 (or u_texture, which aliases slot 0).