Documentation
    Preparing search index...

    Function skinnedLitShaderSource

    • The skinned lit WGSL module for one variant. The fragment stage is litFragmentStageWgsl verbatim. The vertex stage composes model * skinMatrix() and transforms normals with the inverse-transpose of that 3×3 — GL's skinned lit vertex, restated, because the CPU normalMatrix is the model's and the skin varies per vertex.

      Parameters

      • normals: boolean
      • map: boolean
      • shadow: boolean = false

      Returns string