Curtis L. Olson wrote:
Erik Hofman writes:

I've added a property /sim/scene_lighting to the code to switch between old and new behavior at runtime (not that you have to speed up time temporarily to get to the new state by pressing 't').


How about we call the property "/sim/rendering/scene-lighting"

I was planning on removing it as soon as possible. It *is* just a test property.

One comment, you use a value of 1.5 for the 4th element of the
lighting color.  I believe the allowable values are 0.0 - 1.0.
Otherwise, depending on the opengl implimentation you could get some
very wierd color artifacts.

It defines the shininess of the color:


GL_SHININESS

params is a single integer or floating-point value that specifies the RGBA specular exponent of the material. Integer and floating-point values are mapped directly. Only values in the range [0,128] are accepted. The initial specular exponent for both front- and back-facing materials is 0.


Erik



_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to