AutoMovie API
    Preparing search index...

    Variable applyReliefWeightsConst

    applyReliefWeights: (material: THREE.Material) => void = ...

    Scale a material's normal-map slopes by each vertex's relief weight (the mesh's reliefWeight attribute, interpolated across the triangle), before any detail map or overlay blends in, so a relief deepens or flattens across the surface while the finer detail stays even. The material must carry a tangent-space normalMap, and every mesh drawn with it must carry the attribute.

    Type Declaration

      • (material: THREE.Material): void
      • Parameters

        • material: THREE.Material

        Returns void