Learn OpenGL

More Information
  • Set up GLFW and GLEW on Windows and macOS with absolute, relative Linking
  • Set up SDL and SFML on your system using absolute and relative Linking
  • Draw using the simple shaders
  • Create a camera and learn to populate your game world with objects
  • Learn about color and lighting concepts to create an amazing game world
  • Understand model loading and cube mapping to advance your game

Learn OpenGL is your one-stop reference guide to get started with OpenGL and C++ for game development. From setting up the development environment to getting started with basics of drawing and shaders, along with concepts such as lighting, model loading, and cube mapping, this book will get you up to speed with the fundamentals.

You begin by setting up your development environment to use OpenGL on Windows and macOS. With GLFW and GLEW set up using absolute and relative linking done, you are ready to setup SDL and SFML for both the operating systems.

Now that your development environment is set up, you'll learn to draw using simple shaders as well as make the shader more adaptable and reusable. Then we move on to more advanced topics like texturing your objects with images and transforming your objects using translate, rotate and scale.

With these concepts covered, we'll move on to topics like lighting to enable you to incorporate amazing dynamic lights in your game world.

By the end of the book, you'll learn about model loading, right from setting up ASSIMP to learning about the model class and loading a model in your game environment. We will conclude by understanding cube mapping to bring advance worlds to your game.

  • Learn the basics of drawing along with fundamentals of shading to create amazing objects.
  • Get in-depth knowledge of lighting and materials to make realistic objects.
  • Understand the fundamentals of model loading and cube mapping.
Page Count 204
Course Length 6 hours 7 minutes
ISBN 9781789340365
Date Of Publication 30 Aug 2018


Frahaan Hussain

Frahaan is the CEO of Sonar Systems which is the world leader in educational material for the game engine Cocos2d-x, one of the best and the most popular game engines in the world. With years of experience in programming and running an online education platform (Sonar Learning), he enjoys to help and support new programmers like you. He is also a University Lecturer teaching a variety of topics in Games Programming from Games Design to OpenGL Shader Programming.