Search Unity

URP ShadowSliceData

Discussion in 'Shaders' started by Avol, May 30, 2021.

  1. Avol

    Avol

    Joined:
    May 27, 2016
    Posts:
    95
    Anyway to get shadow slices data from AdditionalLightsShadowCasterPass?
    Specifically this:
    ShadowSliceData[] m_AdditionalLightsShadowSlices;
    Seems redundant to rewrite the whole calculation again.