summaryrefslogtreecommitdiffstats
path: root/src/RenderConfigs.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-12-11 16:44:40 +0100
committerLaG1924 <lag1924@gmail.com>2021-12-11 16:44:40 +0100
commitbe808181b2c84358b232e4a32d1a6dd9dd6659ed (patch)
tree5a0089532532a52fc307d836e2b1e90eced06779 /src/RenderConfigs.hpp
parentRemoved unnecessary framebuffers copying (diff)
downloadAltCraft-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.hpp2
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;