Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //shadertoy-to-livecoder wrapper (no textures, animations nor sounds)
- uniform float time;
- uniform vec2 resolution;
- uniform vec2 mouse;
- #define iGlobalTime time
- #define fragCoord gl_FragCoord
- #define iResolution resolution
- #define iMouse (mouse * resolution)
- /*
- Do a copy-and-paste fro shadertoy.com/view/xxxxxx here
- ...
- */
- void main()
- {
- mainImage(gl_FragColor, gl_FragCoord);
- }
Add Comment
Please, Sign In to add comment