Colored polygons and GL lighting
When I enabled OpenGL lighting and all my simple colored polygons turned white, as did my quadradics.
What is the correct way to enable lighting in a colored polygon environment.
What is the correct way to enable lighting in a mixed colored polygon and texture mapped polygon environment.
Finally, how do you do a mixed colored polygon, textured polygon environment?
check the faq http://www.frii.com/~martz/oglfaq/
when u enable lighting u must use materials to specify colouring
when u enable lighting u must use materials to specify colouring
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement