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:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types:
-
Outside: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types:
-
Bound Volume: (required)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatSdf
- Coordinate Types: