Skip to main content Link Menu Expand (external link) Document Search Copy Copied

remapCoords

beta

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

  • Enable:
  • Remap Mode: How the remapped coordinates are applied to the original coordinates.
    • 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.

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Coordinate Field: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4