mirrorAxes

mirrorAxes

Mirror space across one or more axes, similar to reflect.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Axes

Which axes should be reflected.

Semi-Baked Semi-Baked
  • X:
  • Y:
  • Z:
  • XY:
  • YZ:
  • ZX:
  • XYZ:
Direction X

Which side of the X axis should be reflected.

Semi-Baked Semi-Baked
  • Positive:
  • Negative:
Direction Y

Which side of the Y axis should be reflected.

Semi-Baked Semi-Baked
  • Positive:
  • Negative:
Direction Z

Which side of the Z axis should be reflected.

Semi-Baked Semi-Baked
  • Positive:
  • Negative:
Flip X On Side

Whether to flip one side of the X axis along either the Y or Z axes.

Runtime Semi-Baked
  • None:
  • X+:
  • X-:
  • Y+:
  • Y-:
  • Z+:
  • Z-:
Flip Y On Side

Whether to flip one side of the Y axis along either the X or Z axes.

Runtime Semi-Baked
  • None:
  • X+:
  • X-:
  • Y+:
  • Y-:
  • Z+:
  • Z-:
Flip Z On Side

Whether to flip one side of the Z axis along either the X or Y axes.

Runtime Semi-Baked
  • None:
  • X+:
  • X-:
  • Y+:
  • Y-:
  • Z+:
  • Z-:
Center

Center position for the reflection planes.

Runtime Baked
Offset

Offset applied to each side, pushing them towards / away from the reflection planes.

Runtime Baked
Enable Blend

Whether to stretch out the area near the reflection plane to soften the transition between the sides.

Semi-Baked Semi-Baked
Blending

How much area to stretch out near the reflection planes.

Runtime Baked
Apply To

What the reflection should be applied to.

  • Coordinates:
  • SDF UV:
  • SDF Secondary UV:
  • UV In Material:
  • Field Values:

Inputs

  • definition_in: (optional)
    • 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
    • Supports Variables: sides
    • Supports Variables From Inputs: offsetField directionField flipSideField blendingField
  • Offset Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables: sides
    • Supports Variables From Inputs: directionField flipSideField
  • Direction Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables: sides
    • Supports Variables From Inputs: flipSidesField
  • Flip Sides Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables: sides
  • Blending Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables: sides

Variables

  • Axis Sides (+/- 1):