extend
Keywords:
- extend
- stretch
filter
extend
RayTK
v0.42
Clamps coordinates around an area, which causes its edges to be extended infinitely along each axis.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Center | The center position around which the coordinates are clamped. | Runtime | Baked |
Size | The size of the region outside which the coordinates are clamped. Within this area, the SDF will behave as it normally does. | Runtime | Baked |
Axes | Which axes should be extended. | Runtime | Baked |
|
Inputs
-
definition_in
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Supports Variables From Inputs:
sizeField
centerField
- Coordinate Types:
-
Size Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Coordinate Types:
-
Center Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Supports Variables From Inputs:
sizeField
- Coordinate Types: