----- "Erik Hofman" a écrit :
> Frederic Bouvier wrote:
> > Fixed. What do you think of the night lighting ?
> 
> It's not entirely what I hoped for, for example the park is 
> completely lit now. Maybe it would be an idea to use the 
> light value as a contrast enhancer for the lit areas?

The lit areas are in the blue channel of the relief map texture (the z 
component of the normal is reconstructed from the x and y components locates in 
the red and green channels), so a better designer/artist could do a better job 
than me. For the moment, I only took the floor of the height map with a small 
decay at the border. The emissive color is also hard-coded in the shader.

What do you mean by contrast enhancer ?

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/              Photo gallery - album photo
http://www.youtube.com/user/fgfred64       Videos


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to