Force resolution:
Other global variables:
uniform vec2 iResolution; // screen size in pixels. note: in Shader Toy this is vec3
uniform float iTime; // time since beginning, in seconds
uniform float iTimeDelta; // time since last frame, in seconds
uniform sampler2D iChannel0; // 2D, 3D or cubemap depending on selected input
// likewise iChannel1, 2, 3
Tabs which don't compile are highlighted red, and the viewport keeps running the last version which compiled.
Sorry for no syntax highlighting!
Common
Buffer A
Buffer B
Buffer C
Buffer D
Output image
Save/load
iChannel0:
iChannel1:
iChannel2:
iChannel3: