PDA

View Full Version : Return to defaults - glMaterialFv?



fiooer
05-02-2010, 08:04 AM
Hi,

I am trying to display on the screen a 3ds file (without textures) and afterwards an md2 file.

The 3ds file has a blue material in it, and when I display the md2 AFTER the 3ds file, it is displayed in a blue color.

If I reverse the order, the md2 file is displayed properly and the 3ds file aswell.

I assume that there is something going on with the 3ds material.
How do I disable the recent glMaterialFv calls, and return to defaults?

Thanks a lot
fiooer