Taos API Reference
    Preparing search index...

    Function evsm2Shadow

    • EVSM2 (positive-only) shadow test. m0/m1 must have been baked as (E[w], E[w²]) with w = evsmWarp(d, c) for the SAME c. minVariance is in linear-depth units and scaled into warp space via the warp derivative d/dd exp(c·d) = c·w so the floor behaves consistently across the range.

      Parameters

      • m0: number
      • m1: number
      • depth: number
      • c: number
      • minVariance: number
      • bleed: number

      Returns number