limitArea
beta
filter
limitArea
RayTK
v0.42
Use an SDF to limit the area where a field produces values.
Within the specified bounds, the value from the first input field is used.
Outside the bounds, if there’s a second input field, that is used instead. Otherwise the Outside Value
parameter is used for those areas.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Offset | Offsets the edge of the bound area, expanding/collapsing it. This is equivalent to inserting a | Runtime | Baked |
Blending | Range over which to fade from the main field to the outside field/param. | Runtime | Baked |
Outside Value | Value to use outside the bounds, if there is no second field input. | Runtime | Baked |
Inputs
-
Inside
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Outside
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Bound Volume
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
Sdf
- Coordinate Types: