From 2c8002d30f291cba832a5750212009d48238c308 Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 22 Aug 2025 12:24:05 +0200 Subject: feat: add HDRI --- src/rendering/texture.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/rendering/texture.h') diff --git a/src/rendering/texture.h b/src/rendering/texture.h index cc5c59e..195605c 100644 --- a/src/rendering/texture.h +++ b/src/rendering/texture.h @@ -31,4 +31,12 @@ namespace Donut static Ref create(uint32_t width, uint32_t height); static Ref create(const std::string& path); }; + + class CubemapTexture + : public Texture + { + public: + static Ref create(uint32_t width, uint32_t height); + static Ref create_from_hdri(const std::string& path); + }; }; -- cgit v1.3