Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function perturbNormal

    • Perturbs the normal vector using the given parameters.

      Parameters

      • uv: NodeMaterialConnectionPoint

        The UV coordinates.

      • positionWorldVec3: NodeMaterialConnectionPoint

        The world position vector.

      • normalWorldVec3: NodeMaterialConnectionPoint

        The world normal vector.

      • normalTexture: NodeMaterialConnectionPoint

        The normal texture.

      • bumpStrengthFloat: NodeMaterialConnectionPoint

        The bump strength.

      • Optionaloptions: Partial<TargetOptions>

        Optional target options.

      Returns NodeMaterialConnectionPoint