Alan Grimes wrote:
I'm not sure if this is on topic, but I figured out how to parameterize GL so that it can emulate the N64's lighting unit (using vertex arrays). While that seemed to work well enough, I noticed that in doing so, the system was nolonger processing the color array! Is this normal behavior?
Lighting produces vertex colors so the original/incoming vertex color set with glColor or GL_COLOR_ARRAY is not used. The exception to this is when GL_COLOR_MATERIAL is enabled. In that case, the incoming vertex colors are used to specify particular material coefficients.
What do I do in order to use both smoothshading and lighting?
glShadeModel(GL_SMOOTH); glEnable(GL_LIGHTING); I have a feeling you mean something else though... -Brian ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel