lets say i have a land plane, i have a light circling vertically to simulate day/ night. and a blue skysphere.
i really like this system because the light that reflects from the sky sphere makes a very realistic effect. like for example, after the sun goes beyond the horizon, you can still see some light reflecting from the sky sphere for a while before it gets totally dark, just like in real life. And i do not want by any means to turn this light off.
The problem lies after the sun is under the terrain and its already dark , some of the surfaces of the terrain and the bottoms of all the objects is lit up and it makes thing look wrong and weird.
I have not been able to solve this problem. Van B told me i could use intersect object from the lightsourse through every vertex can solve this problem. but for some reason (even with sparkys collision) intersecting several hundred vertexes will ultimately kill my game. I guess this is a limitation of the DBP engine
I was thinking for a long time and came up with an idea. I just want a consultation on how possible is my idea and how may i get it to work.
my idea is to make it so the light only affects a certain object from the top. Something like affecting the faces that are from 0 to 180 degrees? and not affecting the faces that are facing away from the light.
finally there is a problem of faces that do end up facing the lightsourse (sun) even after the sun went all the way down (nighttime) These would be steep mountains. So pretty much it would end up with my mountains glowing in the middle of the night. This is one of the problems that i cant think a solution for.

.
I think it would be ok for the mountains to light up a for a short time after the sunset and before the sunrise because that's how it works in real life.
Once again, a reminder that turning off the light for this thing would not be a solution because i still need the lightsourse to light up a possible moon that ill stick in there (because it looks so cool, i tried it before some time ago and want to include it later on) as well as the reflection of light off the skysphere after the sunset/ before the sunrise makes it very realistic.
This is a very abstract solution to this, and my drawings are not 100% accurate to how my thing actually works, (more like 80% accurate) but they get the idea across.
I am asking for any suggestions/ critisism and help to polish this thing up and any other help anyone can offer
I know this idea is a little abstract, but i tried my best explaining it through my drawings
Thanks.
dont hate people who rip you off,cheat and get away with it, learn from them