ClementineAccount / Fwog-CMake-Glfw-OpenGL-Template

CMake based C++ Project template with support for fwog, glfw, glad, imgui, spdlog, tracy, stb-image and cgltf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fwog-CMake-Glfw-OpenGL-Template

What is this?

This is an adaption of the original Deccer's CMake-GLFW-OpenGL-Template that comes with a Fwog example scene featuring a textured cube. Fwog is a Low-level OpenGL 4.6 abstraction written in C++20.

image

image

Why?

While Fwog comes with some examples of the abstraction used in practice, they are not designed to be used as templates and starting points for a user's own project. This template, however, allows you to start using the Fwog abstraction to make projects immediately with the same setup and libraries as included in Deccer's template.

To Do

  • Add camera control examples
  • Add skybox example
  • Add multiple cubes for the example scene (which also shows depth testing)
  • Refactor DrawObject class
  • (Maybe) Add Deccer's Cubes example that uses Fwog. If I do it would be a separate scene.

Skybox

Skybox texture has CC0 license and is from polyhaven.

About

CMake based C++ Project template with support for fwog, glfw, glad, imgui, spdlog, tracy, stb-image and cgltf

License:MIT License


Languages

Language:C++ 77.2%Language:CMake 16.0%Language:GLSL 6.8%