// END Tile Manager udpates
+ if (fgGetBool("/sim/rendering/specular-highlight")) {
+ glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR); glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
+ } else {
+ glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SINGLE_COLOR);
+ glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE);
+ }
+
// redraw display
fgRenderFrame();
exit(-1);
}
- SGPath modelpath( globals->get_fg_root() );
- ssgModelPath( (char *)modelpath.c_str() );
-
////////////////////////////////////////////////////////////////////
// Initialize the property-based built-in commands
////////////////////////////////////////////////////////////////////