|
![](/i/fill.gif) |
"Sven Littkowski" <sve### [at] jamaica-focus com> wrote:
> Greetings again!
>
> I am searching for a way to have lights (ambient 1.0) only in shadow regions
> of a planet. Does anyone know a way to do that?
>
> At the moment, I have a made a planet out of three layers: the planet itself
> (a sphere with a high-resolution image map), another sphere with a
> semi-transparent PNG map at ambient 1.0 for the city lights, and a sphere
> with a semi-transparent PNG map for the clouds.
You can do this with a texture_map, with the gradient pattern using the
vector from the centre of the Earth to the centre of the Sun. Sorry, I'm
too tired to write any code right now. :)
Post a reply to this message
|
![](/i/fill.gif) |