Trying to add prefiltered environment mapping

This commit is contained in:
Dynamitos committed 2025-07-06 20:57:09 +02:00
1 parent bcdcc47eb3
commit eb07d0fdd1
7 files changed
+113 -41

No files matched your search

+2 -2
View File
@@ -13,11 +13,11 @@ class EnvironmentMapAsset : public Asset {
virtual void load(ArchiveBuffer& buffer) override;
Gfx::PTextureCube getSkybox() const { return skybox; }
Gfx::PTextureCube getIrradianceMap() const { return irradianceMap; }
Gfx::PTextureCube getSpecularMap() const { return specularMap; }
Gfx::PTextureCube getPrefilteredMap() const { return prefilteredMap; }
private:
Gfx::OTextureCube skybox;
Gfx::OTextureCube irradianceMap;
Gfx::OTextureCube specularMap;
Gfx::OTextureCube prefilteredMap;
friend class EnvironmentLoader;
};
} // namespace Seele