Raymarcher Modifier Category - Target Operations
Namespace: Raymarcher.Objects.Modifiers
This category of modifiers contains target boolean operations that modify entire sdf objects.
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 a smooth blend between two sdf objects.
public float blendSmoothness;
public RMSdfObjectBase TargetSdf { get; }
Creates an intersection between two sdf objects.
public float intersectSmoothness;
public bool includeMaterial;
Creates a subtraction blend between two sdf objects.
public float subtractSmoothness;
public bool includeMaterial;
Creates morph effect between two sdf objects. Morphs one sdf object to another.
public float morphValue;