A visualisation and comparison of different reflection and refraction models in OpenGL using reflection and refraction boxes.
This repository provides a way to visualize and compare various reflection and refraction models in OpenGL using reflection and refraction boxes. It's not just about exploring separate shaders; you can also make on-the-fly changes to shader settings in real-time. This showcases how these adjustments affect the rendered scene.
- 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-Reflection-and-refraction-models/
-
Open the project
Lab2.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.