diff --git a/.github/chat.jpg b/.github/chat.jpg index 8d279bc..ec58048 100644 Binary files a/.github/chat.jpg and b/.github/chat.jpg differ diff --git a/README.md b/README.md index 11cb186..bebaa49 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,14 @@ It has : - Model Loading (OBJ and glTF) - KTX Textures Loading -You can read more about the implementation details of this project in this blog post : https://blog.stowy.ch/posts/opengl-renderer/ +You can read more about the implementation details of this project in this blog +post : https://blog.stowy.ch/posts/opengl-renderer/ ## How to build You need : -- A C++ 23 compiler that supports C++20 modules. I use Clang 18. +- A C++ 23 compiler that supports C++20 modules. I use Clang 18. - CMake 3.28 Then run : @@ -46,7 +47,7 @@ cmake --build build -t opengl_scene - [glm](https://github.com/g-truc/glm) : linear algebra library - [assimp](https://www.assimp.org/) : 3D models importer - [SDL2](https://www.libsdl.org/) : handles the window -- [GLEW](https://glew.sourceforge.net/) : loads the OpenGL functions +- [glad](https://github.com/premake-libs/glad) : loads the OpenGL functions - [libktx](https://github.com/KhronosGroup/KTX-Software) : KTX textures importer - [Abseil](https://abseil.io) : mostly to replace `std::unordered_map` by `absl::flat_hash_map` - [spdlog](https://github.com/gabime/spdlog) : fast and easy logging diff --git a/src/scenes/ssao_scene.cpp b/src/scenes/ssao_scene.cpp index cb2864e..9657a1e 100644 --- a/src/scenes/ssao_scene.cpp +++ b/src/scenes/ssao_scene.cpp @@ -88,7 +88,7 @@ class SsaoScene final : public Scene glm::vec3 direction{ 0.0f, -1.0f, -1.0f }; direction = normalize(direction); - const DirectionalLight directionalLight{ direction, glm::vec3{ 10.0f } }; + const DirectionalLight directionalLight{ direction, glm::vec3{ 5.0f } }; m_Renderer->SetDirectionalLight(directionalLight); const PointLight p{ glm::vec3{ 5.0f, 0.0f, 4.0f }, glm::vec3{ 20.0f } };