On 9 Sep 2010, at 08:54, Erik Hofman wrote:

>> You misunderstood - I don't want to set the properties directly (far too
>> complicated to recompute all that in Nasal), I would like to pass an
>> argument to the existing code that modifies the way the light is created
>> by desaturating and darkening it.
> 
> That should be doable without too much problems.

Frankly it's the kind of code that I'd be much happier, if it lived in Nasal 
entirely, but that's a larger change.

In the short term, passing in a de-saturation factor should certainly be safe 
and effective.

James


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to