A deferred physically based 3D renderer into a simple to use header-only library.

#gl3d #gamedev #renderer #pbr #3d #opengl #single-file-library #c #graphics #library

unknown 29374e4fc6 tried to debug second pc 4 lat temu
devUtils f9ef8179fc some functions to clean up code 5 lat temu
gl3d 29374e4fc6 tried to debug second pc 4 lat temu
headerOnly 29374e4fc6 tried to debug second pc 4 lat temu
submodules 29374e4fc6 tried to debug second pc 4 lat temu
.gitignore aea006f05f updated gitignore 5 lat temu
.gitmodules baacf18330 removed submodule 5 lat temu
README.md a6eac08c9f Create README.md 5 lat temu
atenuationFunc.png c33226dd2b started to implement PBR 5 lat temu
atenuationFunc2.png c33226dd2b started to implement PBR 5 lat temu
atenuationFunc3.png c33226dd2b started to implement PBR 5 lat temu
dependences.zip baacf18330 removed submodule 5 lat temu
gl3d.sln 55a5f97717 first commit 5 lat temu

README.md

gl3d

How to integrate the library in your project:

  • From the headerOnly folder add the .h and the .cpp files in your project.
  • You should also have GLM and stb_image and stb_truetype working. You can also find them in the dependences.
  • This library uses opengl so you should have the functions loaded. You can do it however you want but you should load them before using the library

How to compile the repo (Visual studio 2019, Windows)

If you want to edit the project this are the steps to follow. It is not required to do this tu use the library on your project
  • Clone the repo then
  • git submodule init,
  • git submodule update,
  • in the repo directory, unzip dependences,
  • You must have python 3 on your machine for the header only version to be compiled.