Directional lights

We have created spotlights and point lights. Now we are going to create the last light type – directional lights. A directional light is a light that is far away and only has a direction and a color, but no light cone or radius like spotlights or point lights. It can be thought of as the sun. For us, the sunlight comes from one direction, the direction of the sun.

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.