Skip to content

Sinple PBR renderer for learning purposes.

License

Notifications You must be signed in to change notification settings

IkerGalardi/PBR-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBR-Renderer

Sinple PBR renderer for learning purposes.

image

Features

  • Physically based Rendering with Cook-Torrance BRDF
  • Normal Mapping

Build instructions

First of all, the next dependencies need to be installed:

  • GLEW
  • SDL2

If you want to simply build and test the project type the next command and that should be it!

make
./bin/pbr

If you want to modify the code, if no more source files are created the before method would work fine. If not, project files need to be recreated, and for that the tool premake is used, specifically the fifth version. To recreate project files and rebuild

premake5 gmake2
make clean && make
./bin/pbr

Known issues

The next are already known issues and ways to fix them, for more information check the issues page on github.

  • GLEW initialization failure: for wayland users, you will se a warning saying that will ignore a initialization error. All should work fine from that point on, but if you want to remove the warning, execute the app with the next command SDL_VIDEODRIVER=X11 ./bin/pbr

References

About

Sinple PBR renderer for learning purposes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages