Skip to content

Commit

Permalink
Updated image in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Huber authored and Fabian Huber committed May 4, 2024
1 parent ed724fc commit 19f2478
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Binary file modified .github/chat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/scenes/ssao_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 } };
Expand Down

0 comments on commit 19f2478

Please sign in to comment.