In my 3D game with side-view, I want that: camera should not to see all lighted part of rooms. Camera should see only parts what can be seen by character. I want character to see everything in some range wuth some attentuation. Of course, character should not to see through walls. I thought about making point light on character with mask-like function. It could be easy, if unity could to change Light Blend Mode, as URP 2D Renderer can. I was findings tutorials, but they ignores point light shadows, just calculates distance to it. I’m surprised, i thought this theme is very popular. Help me please!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Multiply Lighting | 1 | 905 | July 1, 2021 | |
How to light areas only when player can see them? | 5 | 1624 | June 13, 2015 | |
How to block lights? | 2 | 13271 | July 22, 2008 | |
Unity 2D - Objects That Block Light / Create Shadows | 2 | 4616 | July 31, 2014 | |
Lighting??? | 2 | 1068 | January 27, 2015 |