- Home /
Can I get a surface color that includes realtime lighting?
Is there any way to get a color value for a point on a surface which includes both the texture and realtime lighting?
I can get the texture value easily enough with texture.getpixel, but that won't include any lighting considerations. The only lighting solutions I've found seem to involve reading the values from a lightmap; but I have no lightmaps as the lights are realtime. so I'm a bit stumped but surely this must be possible?
Answer by screenname_taken · Aug 07, 2014 at 10:24 PM
Would you perhaps be able to save the image from the scene camera and correlate it with the depth buffer to find what you want? Or with camera view to world view?
Your answer
Follow this Question
Related Questions
Realtime point light count (Pixel Light Count) issue 0 Answers
Beast Lightmapped object can't be lit by realtime lights? 1 Answer
Can I activate light maps at a certain moment during gameplay? 0 Answers
Problems with Lightmapping and realtime lights 0 Answers
Instantiated lights don't have an effect on lightmapped GameObjects. 1 Answer