Adding prefiltered specular reflections

This commit is contained in:
2025-07-09 23:25:21 +02:00
parent 865ea5a1c8
commit 47b9b5c877
9 changed files with 329 additions and 142 deletions
+4
View File
@@ -14,10 +14,14 @@ class EnvironmentMapAsset : public Asset {
Gfx::PTextureCube getSkybox() const { return skybox; }
Gfx::PTextureCube getIrradianceMap() const { return irradianceMap; }
Gfx::PTextureCube getPrefilteredMap() const { return prefilteredMap; }
Gfx::PTexture2D getBrdfLUT() const { return brdfLUT; }
Gfx::PSampler getLUTSampler() const { return lutSampler; }
private:
Gfx::OTextureCube skybox;
Gfx::OTextureCube irradianceMap;
Gfx::OTextureCube prefilteredMap;
Gfx::PTexture2D brdfLUT;
Gfx::PSampler lutSampler;
friend class EnvironmentLoader;
};
} // namespace Seele