Car Racing Game
This is a car racing game created with C++ and OpenGL 3.3. It began as a project for learning OpenGL and getting a better understanding of 3D graphics and C++, but turned into a long-term project.
Features
- Split screen multiplayer (up to 4 players)
- Select keyboard or controller input
- Control two cars with two keyboards (Windows only)
- Sun light and spot lights
- Shadows using shadow mapping
- PBR shading (including normal and roughness maps)
- Load different maps at runtime.
I am not using any existing engine to create this game, but I do use a lot of preexisting libraries to implement common functions. The following is a list of the libraries I use and their purpose:
| Library | Used for... |
|---|---|
| SDL3 | Used for window management, input, and other low-level or platform-specific code. |
| SDL3 Image | Used for loading images from file. |
| SDL3 Mixer | Used for loading and playing audio. |
| Assimp | Used for loading 3D models. |
| Jolt Physics | Used for physics, including vehicle dynamics. |
| Freetype | Used for rendering fonts. |
| Dear ImGui | Used for creating quick graphical user interfaces. |
| Glad | Used for loading OpenGL functions. |