
render2D
Shortcuts:
Renders a 2D image by evaluating the input field for each pixel.
The input field can return either vec4 which is used as RGBA, or a float, which is copied to all 4 channels. The input field can use either 2D coordinates, or 1D, in which case it only uses the X axis and renders the same result for each vertical line of pixels.
Parameters
-
Resolution
: -
Pixel Format
:-
Use Input
: -
8-bit fixed (RGBA)
: -
sRGB 8-bit fixed (RGBA)
: -
16-bit float (RGBA)
: -
32-bit float (RGBA)
: -
_separator_
: -
10-bit RGB, 2-bit Alpha, fixed (RGBA)
: -
16-bit fixed (RGBA)
: -
11-bit float (RGB), Positive Values Only
: -
16-bit float (RGB)
: -
32-bit float (RGB)
: -
8-bit fixed (Mono)
: -
16-bit fixed (Mono)
: -
16-bit float (Mono)
: -
32-bit float (Mono)
: -
8-bit fixed (RG)
: -
16-bit fixed (RG)
: -
16-bit float (RG)
: -
32-bit float (RG)
: -
8-bit fixed (A)
: -
16-bit fixed (A)
: -
16-bit float (A)
: -
32-bit float (A)
: -
8-bit fixed (Mono+Alpha)
: -
16-bit fixed (Mono+Alpha)
: -
16-bit float (Mono+Alpha)
: -
32-bit float (Mono+Alpha)
:
-
-
Alignment
: How coordinates are positioned within the render frame.-
Center
: -
Legacy
: -
Bottom Left
:
-
-
Scaling
: How coordinates are scaled within the render frame.-
Fill
: -
Fit Inside
: -
Fit Outside
:
-
-
UV Map
: UV Map that is used to pick the uV coordinates used for each pixel. If this is provided, the `Alignment` and `Scaling` not used. -
Time Reference Operator
: -
Shader Builder Config
: -
Zoom
: -
Offset
: -
Customize Shader Config
: -
Enable UV Output
: -
Enable Normal Output
: -
Enable Debug Output
: -
Enable Custom Output 1
: -
Enable Custom Output 2
:
Inputs
-
definition_in
: (optional)- Coordinate Types:
float
vec2
- Context Types:
Context
- Return Types:
float
vec4
Sdf
- Coordinate Types: