quadSdf2d
sdf2d
quadSdf2d
RayTK
v0.42
SDF for a 2D quad with arbitrary corners.
Based on Sierpinski Fractal Cubes by Shane.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Point 1 | Runtime | Baked | |
Point 2 | Runtime | Baked | |
Point 3 | Runtime | Baked | |
Point 4 | Runtime | Baked |
Inputs
-
Point 1-2 Coords Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Coordinate Types:
-
Point 3-4 Coords Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Coordinate Types: