Fixing skybox

This commit is contained in:
Dynamitos committed 2024-01-02 16:48:03 +01:00
1 parent 4b58ab84be
commit 1ff3ddf9a3
11 files changed
+159 -49

No files matched your search

@@ -28,6 +28,13 @@ private:
Gfx::OFragmentShader fragmentShader;
Gfx::PGraphicsPipeline pipeline;
Gfx::OSampler skyboxSampler;
struct SkyboxData
{
Matrix4 transformMatrix;
Vector fogColor;
float blendFactor;
} skyboxData;
Gfx::OUniformBuffer skyboxBuffer;
Component::Skybox skybox;
};
DEFINE_REF(SkyboxRenderPass)