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:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
Sdf
- Coordinate Types:
-
UV Field or SDF with UVs: (optional) Optional field used to calculate the UV coordinates.- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4Sdf - Supports Variables:
sdf - Supports Variables From Inputs:
inputOp1
- Coordinate Types:
Variables
-
SDF Surface: