Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Measuring the light intensity of a 2D scene with the new LWRP?

Discussion in 'Universal Render Pipeline' started by Zerithax, Aug 30, 2019.

  1. Zerithax


    Jan 25, 2014
    So about a year ago some friends and I wanted to look into a 2D sidescroller where the player is a vampire and takes damage in high light levels. We quickly gave up when we couldn’t find any good dynamic 2D-specific lighting systems in Unity. Now that we have exactly that, I’m looking into the possibility of setting up a prototype/demo/vertical slice of that game in action. I searched about measuring the intensity of light, and the best I got was a 7-year-old post stating that you must get every light in the scene and raycast to see if you get any light at your chosen pixel(s). Is there any newer/simpler way to do this with the new 2D render pipeline?