Computer Science Canada

Glass Cube(has lighting)

Author:  Homer_simpson [ Sat Jun 14, 2003 12:14 pm ]
Post subject:  Glass Cube(has lighting)

this is a prism looking Cube..it also includes lighting...
to do blending(making it look like glass) use:

code:
glEnable(GL_BLEND);                    
glBlendFunc(GL_ONE, GL_ONE);       

and to disable it use:
code:
glDisable(GL_BLEND);


: