Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Function densityAlphaNode

    • Alpha-over density compensation. Mirrors GLSL luxarDensityAlpha() (glsl-lib.ts): 1 − (1 − a)^uDensityAlphaExp when the exponent exceeds 1 (a thinned normal node, exponent 1/keep), else a untouched. Only the normal graphs call it, so every other graph's generated code is unchanged.

      Parameters

      • alpha: any
      • uDensityAlphaExp: any

      Returns any