A visualisation and comparison of Blinn-Phong, Cook-Torrance, Oren-nayar and Toon shading models in OpenGL.
This code delves into the intricacies of Blinn-Phong, Cook-Torrance, Oren-Nayar, and Toon shading models, providing a dynamic platform for visualizing their effects on various 3D models simultaneously. This repository not only facilitates the exploration of individual shaders but also enables real-time adjustments to shader parameters, offering an immersive experience into how these parameters influence the rendered scene, all in the context of real-time rendering for enhanced graphics applications.
- Xcode 14.3.1
- OpenGL 4.1 (included in macOS)
- Glew 2.2.0
- GLFW 3.3.8
- Assimp 5.3.1
- GLM 1.0.0
- Clone this repository.
git clone https://github.com/borjagq/RTR-Reflectance-models/
-
Open the project
Rendering.xcodeproj
-
Build and run
This project is licensed under the MIT License - see the LICENSE file for details
This repository incorporates essential components from the open-source libraries stb and Dear ImGui. These libraries provide the file read/write and GUI functionalities. For further details about these libraries, visit their GitHub repositories.