Strata - v1.4.10
    Preparing search index...

    Interface RaymarchingProps

    Props for the Raymarching component.

    interface RaymarchingProps {
        backgroundColor?: ColorRepresentation;
        fogColor?: ColorRepresentation;
        fogStrength?: number;
        maxDistance?: number;
        maxSteps?: number;
        minDistance?: number;
        sdfFunction: string;
    }
    Index

    Properties

    backgroundColor?: ColorRepresentation

    Background color for the scene. Default: 0x000000.

    fogColor?: ColorRepresentation

    Color of the scene fog. Default: 0x000000.

    fogStrength?: number

    Strength of scene fog. Default: 0.1.

    maxDistance?: number

    Maximum distance for raymarching. Default: 20.0.

    maxSteps?: number

    Maximum number of raymarching steps. Default: 100.

    minDistance?: number

    Minimum distance for hit detection. Default: 0.001.

    sdfFunction: string

    GLSL code for the sceneSDF function.