PDA

View Full Version : Different Quad Face Colors



modest
07-21-2004, 08:59 PM
Hello. I need to draw some quads having different colors at front and back faces? Is it possible? If yes, can you please give an example. Thank you.

mikael_aronsson
07-22-2004, 01:26 AM
You can set different front/back color attributes with glMaterialfv for example, you also might want to set glLightModel( GL_LIGHT_MODEL_TWO_SIDE).

Mikael