I was trying to make a FOV effect in the dark so objects wouldn’t render unless the FOV was onto of them. I was following Code Monkey’s video Field of View Effect in Unity (Line of Sight, View Cone) (youtube.com). This worked until I had to disable rendering for the layer the objects were in, but the filtering option was mission, it worked if I used the normal URP but then lighting didn’t work.
2 Likes
Seems like there’s a workaround, but I don’t really know if that’s the way to go…
An official “layer filtering feature” for the 2D renderer would be great.
Does anybody know if we can hope for anything like this?
