After faking shaders1, now let's see how "real" shaders work.. This implementation is based on schattenspiel2, trying to simplify it further..
💡 hit ctrl+enter to update the code. hidethe code above is GLSL, implementing mainImage, similar to shadertoy2.
You can use these uniforms:
here are some examples (mostly from shadertoy):
links