reflect

reflect

Shortcuts:
  • ref
Keywords:
  • flip
  • mirror
  • reflect

Reflects space across a plane.

Parameters

  • Enable:
  • Direction:
    • Custom:
    • X+:
    • X-:
    • Y+:
    • Y-:
    • Z+:
    • Z-:
  • Plane Normal: Vector that the cut plane faces. Note that this is only a direction and not a position in space.
  • Offset: Moves the reflection plane along the normal that it faces.
  • Shift: Moves the whole resulting shape along the normal.
  • : Whether to expose which side of the plane a point is on as an iteration value for upstream ops.
  • Enable Blend:
  • Blending:
  • Iteration Type:
    • None:
    • Index (0/1):
    • Signed (-1/1):

Inputs

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

Variables

  • sign:
  • index: