PDA

View Full Version : glutSolidTeapot not working with 2 sided lightmodel



08-11-2000, 12:05 PM
glutSolidTeapot has problems with two sided light model... I dunno why, it works PERFECTLY with one sided light model, but two side, I dunno... It just pretends the light isn't there! that's not so gud.

Another quick question, in the SuperBible, when it tries to draw a glutSolidTeapot with textures and a specular highlight, it draws a pot with color3f(1,1,1) and with a bright specular light, and low diff and amb lights... then they turn blending on, and draw the textured mapped solidteapot right on top of it!!

why can't they just draw one put with specular highlight and texture mapping on? Why draw two different ones, and then blend the two?