Archived

This topic is now archived and is closed to further replies.

Alpha values for each vertex

This topic is 4983 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Hi, How to specify alpha values for each vertex of the quad when i''m drawing (with glColor4f() for example)?.

glColor4fv(color1);glVertex3fv(vertex1); // Will use color1 (and its alpha)glColor4fv(color2);glColor4fv(color3);glVertex3fv(vertex2); // Will use color3