diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-06 21:33:34 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-06 21:33:34 +0000 |
commit | c50095cab023e91ba2a4fec8dcb290e6d817124b (patch) | |
tree | e9511df876d45faffb428ee7ae342a8aabab4194 /src/render/textures.h | |
parent | 8c7fa7dd3258e8d3e112fb9780249dd0d0ef008a (diff) |
Re-enabled environment mapping with the skybox as cubemap.
Diffstat (limited to 'src/render/textures.h')
-rw-r--r-- | src/render/textures.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/textures.h b/src/render/textures.h index c1ccabe..90b26b1 100644 --- a/src/render/textures.h +++ b/src/render/textures.h @@ -28,6 +28,9 @@ public: /// Shutdown the textures registry static void shutdown(); + /// load the environment cubemap + static void load_cubemap(const std::string & name); + /// Load a texture /** Returns 0 on failure, and the texture index on success */ |