- Home /
Question by
Benjamin_Overgaard · Oct 21, 2016 at 01:22 PM ·
lightingshadowsglobal illumination
Is there any way to mask global illumination?
I want to use global illumination, but only for parts of objects that are:
1) hit by a spotlight (they are within the Spot Angle).
2) not obstructed by anything from the spotlight.
This means that everything which is outside of a spotlight or in shadow should not receive indirect lighting. Furthermore, this should work for dynamic lighting.
So, is it possible to use GI only for parts of objects that are in spotlights and draw shadows from depth maps after the GI has rendered, dynamically?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612095120im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Lighting "Pixelisation" 1 Answer
What am i doing wrong with Lighting? 1 Answer
Indoor Lighting Scene - Baking? Realtime? 0 Answers
The light is not blending 0 Answers