Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Resolved Shadow update OnDemand or OnEnable don't work

Discussion in 'High Definition Render Pipeline' started by NewMagic-Studio, May 19, 2023.

  1. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    455
    Hi,
    I am using Unity 2021.3 LTS, i used for mixed spot lights the OnDemand and the OnEnable and both don't work, i place a spot light behind a dynamic door object, and light goes through door as if doesn't exist
    I wanted to make lights don't update every frame but just when i wanted, i set OnDemand the moments in which i want they update but doesn't work
    https://docs.unity3d.com/Packages/c...h-definition@10.0/manual/Shadows-in-HDRP.html
     
  2. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    455
    Don't know why before didn't work but now it works