- Home /
Special lighting for close-up camera
I have a game that uses a birds-eye view for most of the action, but uses small embedded cameras to show the action of characters when they do cool things. (You see the main camera and the close-up camera at the same time -- it just renders to a small window on the screen.)
The problem is these small "close-up" embedded cameras: they don't have good lighting, and I'm not sure how to fix it.
I tried adding lights to the scene, but they make the characters too bright from the birds-eye-view camera. I tried various Layer tricks, but ultimately decided that was a dead end, because the layer with the characters has to be visible on both the birds-eye and close-up camera. So if a light is shining on a character, they apparently "always" have that light on them... there's apparently no way to make a light "conditionally render" from separate cameras.
Is there a normal way to do this? Maybe I could brighten up the close-up cameras artificially somehow? Maybe something completely different?
Answer by elbon96 · Oct 29, 2010 at 07:44 PM
Have you tried turning on the light (GameObject.enable) when you switch to the close up camera?
The close up camera and the main camera are both rendered at the same time -- the close-up cam is shown in a window. So if I enable the light it gets enabled for both cameras, since both are rendering each frame
Your answer
Follow this Question
Related Questions
I can see trees, even when there is no light 2 Answers
Light glitch when not in camera's view 0 Answers
Using HDRP, why does my UI block light making everything around it dark? 2 Answers
HDRP spotlight fading out with camera distance.,HDRP spot light fading out due to camera distance 0 Answers
Camera Overexposed 1 Answer