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.
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;
Creates a finite copies on X axis of the sdf object with customly defined repeat count.
public float spacing;
public int repeatCount;
Creates a finite copies on Y axis of the sdf object with customly defined repeat count.
public float spacing;
public int repeatCount;
Creates a finite copies on Z axis of the sdf object with customly defined repeat count.
public float spacing;
public int repeatCount;
Creates an infinite copies on X axis of the sdf object.
public float spacing;
public float scroll;
Creates an infinite copies on Y axis of the sdf object.
public float spacing;
public float scroll;
Creates an infinite copies on Z axis of the sdf object.
public float spacing;
public float scroll;