> If you need any information about the moon's position and/or phase, just  
> let me know. It should be trivial to extract these values from the  
> ephemeris code.

Thanks, that was what I was hoping for :-)

It depends a bit on if Fred wants to do anything with the moon - my scheme 
would be fine with the angle of the moon above the horizon and the moon phase 
(or, as Curt explained, equivalently the relative angle between sun and moon) 
as properties. I think I have a brightness curve of moonlight as a function of 
phase somewhere, so from there I'd be good.

However, if we want directional moonlight in Rembrandt, then I guess the info 
has to flow to the shader in a more direct way (like 
gl_LightSource[1].position) - in which case I'd use it from there.

* Thorsten
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to