View Full Version : Overriding Colour Information
Is there a way of overriding the colour information specified during the list generation. When I insert a glcolor3f before the glcallist, it ignores this last golour command and takes the colour information when the list was created. Any suggestions?
02-28-2005, 03:03 PM
The best way would to be to avoid using colors in the list if you don't need them.
You may also want to use materials, if you did this you could issue a glColorMaterial before the list and enable or disable GL_COLOR_MATERIAL to choose whether or not to let the colors in the list set material properties with the color.
Using client arrays instead of display lists may be another suitable alternative to baking a fixed list.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.