From: Carlos P. <ca...@pe...> - 2000-12-20 21:22:18
|
If I set the constant attenuation factor in a positional light (say Light0) to some value different from 1.0 (the default) and enable the light etc... then disable the light and lighting (and color_material): glDisable ((GLenum) GL_LIGHT0); glDisable (GL_LIGHTING); glDisable (GL_NORMALIZE); glDisable (GL_COLOR_MATERIAL); then create again the Light0 without saying nothing about the attenuation factor, mesa (3.4) still uses the non-default value I specified for the previous light0. Is this right? I thought Mesa would reset the light information in these situations... shall I explicitly reset the light defaults myself in these cases, or is there some light data reset command that I am missing? Thanks! Carlos |