Raymarcher Technical & APi Documentation

Raymarcher Fractal SDFs

Namespace: Raymarcher.Objects.Fractals

Raymarcher features a collection of fractal SDF objects. These objects, defined within Raymarcher, inherit from the base class **RMSdfObjectBase**.

To create a fractal object in the Unity editor, navigate to__GameObject/Raymarcher/Fractals__.

**It's important to note that creating Raymarcher objects at runtime is not possible. Each object must be created at compile time.**

To create a fractal object in the Unity editor, navigate to

RMSdfFractal_Apollonian :: RMSdfObjectBase

Apollonian gasket or Apollonian net generated by starting with a triple of circles signed distance function.

public float fractalScale;

public float fractalProgression;

public float fractalSpread;

public float fractalColorPhase;

public float fractalStepPrecision; // The smaller the value, the more step iterations it creates

public float fractalProgression;

public float fractalSpread;

public float fractalColorPhase;

public float fractalStepPrecision; // The smaller the value, the more step iterations it creates

RMSdfFractal_Kleinian :: RMSdfObjectBase

Kleinian group also known as linear fractional transformation signed distance function.

public float fractalScale;

public float fractalProgression;

public float fractalSpread;

public float fractalColorPhase;

public float fractalStepPrecision; // The smaller the value, the more step iterations it creates

public float fractalProgression;

public float fractalSpread;

public float fractalColorPhase;

public float fractalStepPrecision; // The smaller the value, the more step iterations it creates

RMSdfFractal_Mandelbulb :: RMSdfObjectBase

Well known Mandelbulb 3D built from spherical formula signed distance function.

public float fractalScale;

public float fractalProgression;

public float fractalColumns;

public float fractalLiquify;

public float fractalColorPhase;

public float fractalProgression;

public float fractalColumns;

public float fractalLiquify;

public float fractalColorPhase;

RMSdfFractal_Tetrahedron :: RMSdfObjectBase

Well known SierpiĆski gasket/ triangle signed distance function.

public float fractalProgression;

public float fractalSize;

public float fractalBurst;

public float fractalSize;

public float fractalBurst;