Unnaturally lit sky

Posted By: sigi56

Unnaturally lit sky - 10/18/04 18:29

Hi,

I have another problem. Need to make sunset on the horizont. There is a sky sphere put around my level and sun shines from one direction (for example north). I expected that the sky will be shone in this part. But the sunlight is projected in opposite part of the sky, which would be darker.

Does anybody know how to make it the way I need ???

Thanks very much ....
Posted By: Christoph_B

Re: Unnaturally lit sky - 10/19/04 16:47

that isn't strange. sun lights are only directional lights and if a light shines from the right, it makes the left part bright.
the engine doesnt care, if thats a sunlight or a usual dynamic light. so you could set a generall ambient to your sky entity or render your skys with terragen, because there, the lighting is correct.
Posted By: sigi56

Re: Unnaturally lit sky - 10/22/04 21:55

Thanks for reply, I´ve tried to adjust ambient but with no result.
Then I set the UNLIT flag for sky entity and created additional light
that projects light against the side of sphere where the sun should be.
Now all work well.


© 2023 lite-C Forums