Currently browsing tag

materials

6. GLSL Materials

Tutorial PreviewJust like lighting and coloring, OpenGL will pass us the material information for objects, allowing us to light our objects just as they would be in the fixed function OpenGL state. This tutorial will show you how to get and use the material information on your lit objects.

12. OpenGL Materials and Lighting

OpenGL Lighting Materials Tutorial PreviewNow you have your scene looking a little nicer with some lighting, but all objects are a gray colour. Here we will learn how to assign materials to shapes to change how they look under different lighting conditions.