Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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:
    432
    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:
    432
    Don't know why before didn't work but now it works