Skip to main content
gamedev.net
๐Ÿ”’ Locked

glColorMaterial ???

Started by maun Oct 7, 2002 at 9:02 AM 0 replies 650+ views
Original Post
maun
maun
I bet this is a very common question but I need to have clear ideas about this : how does GL_COLOR_MATERIAL works, when should I use this instead of glMaterialfv? I''ve read that it''s a matter of performance...to what extend? basically, some of the objects in my scene will be only colored (with materials specifications) the others will be textured... thanks in advance
bakery2k1
bakery2k1
You should use color material if you will, for example, be changing material per primitive or per vertex - calling glColor is quicker than using glMaterial.

users.ox.ac.uk/~univ1234

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.