assignUV

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
  • XYZ:
  • XY:
  • YX:
  • YZ:
  • ZY:
  • XZ:
  • ZX:
  • Cylindrical X:
  • Cylindrical Y:
  • Cylindrical Z:
  • Spherical:
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
  • 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

Variables

  • SDF Surface: