Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

LightEvent.BeforeScreenspaceMask

Description

Before directional light screenspace shadow mask is computed.

Directional lights when using non-mobile shadows "gather" shadowmap into a screenspace buffer and do PCF filtering during this step. Later on actual object rendering just samples this screenspace buffer.

This light event executes command buffers when the screen-space mask render target is set and cleared, and the shadow cascade parameters are set. Note that the shadow mask is not yet computed.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答