OpenGL Layer

OpenGL Layers run custom Shadertoy-style shader code as a composited layer with alpha, preview, pass, resolution, channel, and texture controls.

Overview

What OpenGL Layer is for

Custom shaders

Generative visuals

Shader-driven overlays

How-to

Starting Workflow for OpenGL Layers

  1. Step 1

    Use the plus menu and choose OpenGL Layer.

  2. Step 2

    Paste shader code into the inline editor, or use the folder button to load a shader file.

  3. Step 3

    Use the expanded editor button when you need a larger coding surface.

  4. Step 4

    Choose Alpha behavior before blending the shader with the rest of the stack.

  5. Step 5

    Open Shader controls to choose passes, resolution scale, iChannel sources, texture files, and channel settings.

Reference

OpenGL Layer controls

ControlWhat it changes
Load ShaderLoads shader source from a file.
Expand editorOpens a larger code editor for the shader.
Save Shader and Save AsWrites the current shader source back to disk or to a new file.
Build ShaderManually rebuilds the shader when live preview is disabled.
AlphaChooses Transparent BG, Shader Alpha, or Opaque compositing behavior.
Matte Radius and FeatherTune transparent-background matte behavior when that alpha mode is active.
PreviewInspects the final image, buffer passes, or resolved iChannel inputs.
PassChooses Image, Common, or buffer passes for editing.
ResSets the per-layer shader resolution scale.
iCh0-iCh3Assigns channel inputs such as Inherited, Video, Texture File, Noise, Audio, buffers, or Blank.
Channel folder and gearChoose texture files and configure texture or noise channel processing.
Pipeline statusShows whether the shader is idle, pending, converted to Metal, using OpenGL fallback, or in error.

Practice

Usage tips

Start with Alpha set intentionally so the shader blends the way you expect.

Use a lower Res value when a shader is visually useful but too expensive at full size.

Use Preview to debug a buffer or channel before changing the final image pass.