Live Code Post - noisedeck/noisedeck-docs GitHub Wiki

Live-Code-Post

This pro post module allows you to create your own post processing effects by writing shader code.

See Live Code Help for more info and help.

You can use these built-in uniforms:

  • time - a float value for time
  • seed - a randomized float between 0 and 100
  • resolution - a float vec2 containing the width and height of the canvas
  • mixerTex - a sampler2D containing the output of the mixer, or just the active synth if only one is enabled
  • f1 - a float between 0 and 100
  • f2 - a float between 0 and 100
  • f3 - a float between 0 and 100
  • f4 - a float between 0 and 100
  • f5 - a float between 0 and 100
  • f6 - a float between 0 and 100
  • f7 - a float between 0 and 100

Also PI and TAU (PI * 2) are defined for you.

After editing your shader code, use the green Run button to update the module. If there's an error in your code, the editor text will turn red. If you get really stuck, you can load a preset or reset the module.

Once you get your code in a good place, you can save the shader as a preset.

Settings

  • Load Preset - Loads a shader preset
  • Save Preset - Saves the current code as a preset with the specified name
  • Code - Toggles visibility of the code editor
  • f1 - Sets the value of uniform f1
  • f2 - Sets the value of uniform f2
  • f3 - Sets the value of uniform f3
  • f4 - Sets the value of uniform f4
  • f5 - Sets the value of uniform f5
  • f6 - Sets the value of uniform f6
  • f7 - Sets the value of uniform f7

Additional Settings

This module has additional settings under the ≣ menu.

  • Seed - sets the value of the seed uniform