From c4809bec8486e12a388fb3f09b6c65a4c6c9a754 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 Dec 2022 12:42:35 +0000 Subject: Support saving a normals texture --- gfx/models/texture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gfx/models/texture.h') diff --git a/gfx/models/texture.h b/gfx/models/texture.h index 3974d7f..1aad1e0 100644 --- a/gfx/models/texture.h +++ b/gfx/models/texture.h @@ -20,6 +20,7 @@ public: static void save(const glTexture &, const glm::ivec2 & size, const char * path); static void saveDepth(const glTexture &, const glm::ivec2 & size, const char * path); + static void saveNormal(const glTexture &, const glm::ivec2 & size, const char * path); private: static void save(const glTexture &, GLenum, GLenum, const glm::ivec2 & size, unsigned short channels, -- cgit v1.2.3