diff options
author | LaG1924 <lag1924@gmail.com> | 2021-11-28 12:16:29 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-11-28 12:16:29 +0100 |
commit | 8286ddda96a5f2925d342d0ce115aa00ae5d94ec (patch) | |
tree | aa46a01fb6230a5c994046c7b4823ae1b35c2c37 /src/RenderConfigs.hpp | |
parent | Changed shaders to use SPB (diff) | |
download | AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.tar AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.tar.gz AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.tar.bz2 AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.tar.lz AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.tar.xz AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.tar.zst AltCraft-8286ddda96a5f2925d342d0ce115aa00ae5d94ec.zip |
Diffstat (limited to 'src/RenderConfigs.hpp')
-rw-r--r-- | src/RenderConfigs.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/RenderConfigs.hpp b/src/RenderConfigs.hpp index da7fd96..1e6a978 100644 --- a/src/RenderConfigs.hpp +++ b/src/RenderConfigs.hpp @@ -5,8 +5,12 @@ struct GlobalShaderParameters { glm::mat4 projView; glm::uvec2 viewportSize; - float globalTime; - float dayTime; + glm::float32 globalTime; + glm::float32 dayTime; + glm::float32 gamma; + glm::uint32 paddingF0 = 0xF0F0F0F0; + glm::uint32 paddingF1 = 0xF1F1F1F1; + glm::uint32 paddingF2 = 0xF2F2F2F2; }; std::shared_ptr<Gal::Shader> LoadVertexShader(std::string_view assetPath); |