assignUV
Keywords:
- material
- modularmat
- surface
- texture
filter
assignUV
RayTK
v0.42
Assigns UV coordinates to an SDF surface.
Coordinates can either be determined using the selected UV Mode
, or using a vector field input.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
UV Mode | Runtime | Semi-Baked | |
| |||
Center | Runtime | Baked |
Inputs
-
SDF
: (required) SDF definition to which the UVs are applied.- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Coordinate Types:
-
UV Field or SDF with UVs
: (optional) Optional field used to calculate the UV coordinates.- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
Sdf
- Supports Variables:
sdf
- Supports Variables From Inputs:
inputOp1
- Coordinate Types:
Variables
-
SDF Surface
: