reflect

reflect

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

Reflects space across a plane.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Direction Runtime Semi-Baked
  • 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.

Runtime Baked
Offset

Moves the reflection plane along the normal that it faces.

Runtime Baked
Shift

Moves the whole resulting shape along the normal.

Runtime Baked
Exposeiteration

Whether to expose which side of the plane a point is on as an iteration value for upstream ops.

Enable Blend Semi-Baked Semi-Baked
Blending Runtime Baked
Iteration Type Semi-Baked Semi-Baked
  • None:
  • Index (0/1):
  • Signed (-1/1):

Inputs

  • definition_in: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle
    • Supports Variables: sign index
    • Supports Variables From Inputs: offsetField shiftField
  • Offset Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: sign index
    • Supports Variables From Inputs: shiftField
  • Shift Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float

Variables

  • sign:
  • index: