SpatialMaterial.flagsUseShadowToOpacity

If true, enables the "shadow to opacity" render mode where lighting modifies the alpha so shadowed areas are opaque and non-shadowed areas are transparent. Useful for overlaying shadows onto a camera feed in AR.

  1. bool flagsUseShadowToOpacity [@property getter]
    struct SpatialMaterial
    @nogc nothrow @property
    bool
    flagsUseShadowToOpacity
    ()
  2. bool flagsUseShadowToOpacity [@property setter]

Meta