19#ifndef HEADER_SKYBOX_HPP
20#define HEADER_SKYBOX_HPP
22#include "graphics/gl_headers.hpp"
29 class ISceneNode;
class ICameraSceneNode;
33 class IImage;
class ITexture;
51 void generateSpecularCubemap ();
54 Skybox(
const std::vector<irr::video::IImage *> &skybox_textures);
57 void render(
const irr::scene::ICameraSceneNode *camera)
const;
Definition: skybox.hpp:38
GLuint m_specular_probe
The specular probe texture id.
Definition: skybox.hpp:47
GLuint m_cube_map
The skybox texture id.
Definition: skybox.hpp:44
void generateCubeMapFromTextures()
Generate an opengl cubemap texture from 6 2d textures.
Definition: skybox.cpp:156
std::vector< irr::video::IImage * > m_skybox_textures
The 6 skybox images.
Definition: skybox.hpp:41