trapezoidSdf2d
sdf2d
trapezoidSdf2d
RayTK
v0.42
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Mode | Semi-Baked | Semi-Baked | |
| |||
Point 1 | Runtime | Baked | |
Point 2 | Runtime | Baked | |
Height | Runtime | Baked | |
Width | Runtime | Baked | |
Inputs
-
Width Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types:
-
Point 1+2 Coords Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4 - Supports Variables From Inputs:
widthField
- Coordinate Types:
-
Height Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
widthField
- Coordinate Types: