|
| | Skybox (const std::vector< irr::video::IImage * > &skybox_textures) |
| | Generate a skybox from 6 2d textures. More...
|
| |
|
void | render (const irr::scene::ICameraSceneNode *camera) const |
| |
|
GLuint | getSpecularProbe () const |
| |
|
GLuint | getCubeMap () const |
| |
◆ Skybox()
| Skybox::Skybox |
( |
const std::vector< irr::video::IImage * > & |
skybox_textures | ) |
|
Generate a skybox from 6 2d textures.
Out of legacy the sequence of textures maps to:
- 1st texture maps to GL_TEXTURE_CUBE_MAP_POSITIVE_Y
- 2nd texture maps to GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
- 3rd texture maps to GL_TEXTURE_CUBE_MAP_POSITIVE_X
- 4th texture maps to GL_TEXTURE_CUBE_MAP_NEGATIVE_X
- 5th texture maps to GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
- 6th texture maps to GL_TEXTURE_CUBE_MAP_POSITIVE_Z
- Parameters
-
| skybox_textures | sequence of 6 textures. |
The documentation for this class was generated from the following files: