@pmndrs/reflections
    Preparing search index...

    Function lodWgsl

    • WGSL roughness -> lod for a mapping (r perceptual, clamped), in terms of r and maxLod.

      Parameters

      Returns "maxLod * r * (2.0 - r)" | "pr_lodAlpha(r, maxLod)"