diff options
author | LaG1924 <lag1924@gmail.com> | 2021-12-11 16:44:40 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-12-11 16:44:40 +0100 |
commit | be808181b2c84358b232e4a32d1a6dd9dd6659ed (patch) | |
tree | 5a0089532532a52fc307d836e2b1e90eced06779 /src/RenderConfigs.hpp | |
parent | Removed unnecessary framebuffers copying (diff) | |
download | AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.gz AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.bz2 AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.lz AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.xz AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.zst AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.zip |
Diffstat (limited to 'src/RenderConfigs.hpp')
-rw-r--r-- | src/RenderConfigs.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RenderConfigs.hpp b/src/RenderConfigs.hpp index 8ca5a9e..92ce90c 100644 --- a/src/RenderConfigs.hpp +++ b/src/RenderConfigs.hpp @@ -5,6 +5,7 @@ struct GlobalShaderParameters { glm::mat4 projView; glm::mat4 proj; + glm::mat4 invProj; glm::mat4 view; glm::uvec2 viewportSize; glm::uint32 paddingFA = 0xFAAFFAFA; @@ -95,7 +96,6 @@ class Gbuffer { std::shared_ptr<Gal::Texture> depthStencil; std::shared_ptr<Gal::Texture> color; //RGB - color std::shared_ptr<Gal::Texture> normal; //RGB - normal - std::shared_ptr<Gal::Texture> worldPos; //RGB - viewSpaceWorldPos std::shared_ptr<Gal::Texture> addColor; //RGB - addColor std::shared_ptr<Gal::Texture> light; //R - faceLight, G - skyLight, B - unused std::shared_ptr<Gal::Framebuffer> geomFramebuffer; |