Главная страница | назад





Article #21568: Lighting problems in OpenGL

Question: Why doesn't the lighting in my scene show up properly on the walls and flat surfaces?

Answer: OpenGL performs lighting calculations on a per vertex basis, therefore, if you have a large flat surface, you will have to subdivide it so that OpenGL can actually calculate proper lighting.

Last Modified: 10-MAY-00