
I spent a bit of today reading up on OpenGL lighting models and
materials, to implement an idea I had yesterday: to emulate the
awesome Umbrella Corporation logo from Resident Evil with
glsnake
Today’s tip: if you cheat with GL_COLOR_MATERIAL
when you originally
write the code, remember to turn it off when you start applying
glMaterial*
calls, otherwise any glColor*
calls you make are going
to blow up in your face.