remapCoords

beta
filter
remapCoords
RayTK
v0.42

Modifies space using a vector field.

When the shader uses the operator, it will first pass the coordinates to the “Coord Field”. It then uses the resulting remapped coordinates when running the first input operator.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Remap Mode

How the remapped coordinates are applied to the original coordinates.

Semi-Baked Semi-Baked
  • Replace: Totally replace the original coordinates with the new ones that came from the "Coord Field".
  • Add: Add the new coordinates to the original ones.
  • Multiply: Multiply the new coordinates with the original ones.
Mix

Cross-fades between the original coordinates and the remapped ones.

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
  • Coordinate Field: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4