playMaker

Author Topic: How to detect light sources and disable other shadows than from brightest?  (Read 1256 times)

Artoo

  • Playmaker Newbie
  • *
  • Posts: 47
I wonder what is the best way to optimize shadows when having multiple light sources, it gets heavy really fast.
I´d like to disable other shadows when being in a bright light, since you can´t see them anyway.

Here´s a picture of my small terrain destruction project, I have some ambient light coming from the gradient sky.
There´s also a "standard" light source that gives some contrast to the darkness, a dim blue directional light.
I´ve got some spot lights in the scene too for testing. All these create shadows (except gradient sky)
I´m using Unity´s HDRP rendering system
« Last Edit: June 05, 2022, 03:50:25 PM by Artoo »