0.0
720x1280
► Shader Inputs
uniform vec3 iResolution; // viewport resolution (in pixels) uniform float iTime; // shader playback time (in seconds) uniform float iTimeDelta; // time since last frame (in seconds) uniform float iFrameRate; // shader frame rate uniform int iFrame; // shader playback frame uniform float iChannelTime[4]; // channel playback time (in seconds) uniform vec3 iChannelResolution[4]; // channel resolution (in pixels) uniform vec4 iMouse; // xy: mouse coords zw: click uniform sampler2D iChannel0; // input channel 0 uniform sampler2D iChannel1; // input channel 1 uniform sampler2D iChannel2; // input channel 2 uniform sampler2D iChannel3; // input channel 3 uniform vec4 iDate; // year, month, day, unixtime uniform float iSampleRate; // sound sample rate (i.e., 44100) uniform float mtPps; // pixels per second uniform float mtTime; // position within song uniform float mtTimeDelta; // position change since last frame; 0 == paused uniform vec4 mtNotes[800]; // note, velocity, start, duration uniform int mtNoteCount; // length of mtNotes
iChannel0
iChannel1
iChannel2
iChannel3