Raymarcher Technical & APi Documentation
Raymarcher Modifier Category - Repeat
Namespace: Raymarcher.Objects.Modifiers
This category of modifiers contains repeat modifiers that duplicate certain sdf objects finite/infinite times.
SDF modifiers in the Raymarcher inherit from the base class RMObjectModifierBase.

Create a sdf modifier directly on the SDF Object via components.
It is not possible to create a sdf modifier at runtime as each object must be created at compile time.

Creating multiple modifiers with amplified values of deforming the sdf might lead to breaking the sdf matrix, which will create unwanted artefacts. So it's recommended to keep the effect of modifiers low.
In case you would really like to deform the sdf in extreme ways, you need to higher up the iteration count of the renderer.

RMModifier_MirrorRepeat :: RMObjectModifierBase
Creates an infinite 'mirrored' copies on X/Y/Z axes of the sdf object. Every second repeat mirrors the sdf value.
This is helpful while creating infinite volume boxes with voxels.
public float uniformSpacing; // If using a volume box, the value should be set to 'volumeSize * 2' for correct mirrored repeating
RMModifier_RepeatCountX :: RMObjectModifierBase
Creates a finite copies on X axis of the sdf object with customly defined repeat count.
public float spacing;
public int repeatCount;
RMModifier_RepeatCountY :: RMObjectModifierBase
Creates a finite copies on Y axis of the sdf object with customly defined repeat count.
public float spacing;
public int repeatCount;
RMModifier_RepeatCountZ :: RMObjectModifierBase
Creates a finite copies on Z axis of the sdf object with customly defined repeat count.
public float spacing;
public int repeatCount;
RMModifier_RepeatX :: RMObjectModifierBase
Creates an infinite copies on X axis of the sdf object.
public float spacing;
public float scroll;
RMModifier_RepeatY :: RMObjectModifierBase
Creates an infinite copies on Y axis of the sdf object.
public float spacing;
public float scroll;
RMModifier_RepeatZ :: RMObjectModifierBase
Creates an infinite copies on Z axis of the sdf object.
public float spacing;
public float scroll;