assignUV

assignUV

Keywords:
  • material
  • modularmat
  • surface
  • texture
filter
assignUV
RayTK
v0.36

Assigns UV coordinates to an SDF surface.

Coordinates can either be determined using the selected UV Mode, or using a vector field input.

Parameters

  • Enable:
  • UV Mode:
    • XYZ:
    • XY:
    • YX:
    • YZ:
    • ZY:
    • XZ:
    • ZX:
    • Cylindrical X:
    • Cylindrical Y:
    • Cylindrical Z:
    • Spherical:
  • Center:

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
    • Return Types: Sdf
  • UV Field: (optional) Optional field used to calculate the UV coordinates.
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: vec4

Variables

  • sdf: