Computer Science Canada OpenGL Lighting/Shading/Texturing |
Author: | Homer_simpson [ Sun Jun 08, 2003 1:42 pm ] |
Post subject: | OpenGL Lighting/Shading/Texturing |
use "a" and "z" to enable and disable Lighting use "s" and "x" to enable and disable Texturing |
Author: | Homer_simpson [ Tue Jun 10, 2003 6:44 pm ] | ||
Post subject: | |||
this is my init part
Does anyone know how i can have more than one light source?! |
Author: | Catalyst [ Tue Jun 10, 2003 6:52 pm ] |
Post subject: | |
declare glEnable(GL_LIGHT1); etc. and set them all up |
Author: | Homer_simpson [ Tue Jun 10, 2003 7:04 pm ] |
Post subject: | |
how?! i mean not how... i tried didn't work for some reason i declare new glfloats i enable glligh1 it doesn't create new light =/ |