Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Skybox

Add this in your code:

#include <engine/graphics/skybox.h>

Description

Asset that references all textures that compose a skybox.

Can be used in the Lighting Settigs menu.

Variables


NameTypeDescription
frontstd::shared_ptr<Texture>Front skybox texture
backstd::shared_ptr<Texture>Back skybox texture
upstd::shared_ptr<Texture>Up skybox texture
downstd::shared_ptr<Texture>Down skybox texture
leftstd::shared_ptr<Texture>Left skybox texture
rightstd::shared_ptr<Texture>Right skybox texture