Sky box

Colour the sky

We will choose to use a skybox that is a solid colour, a sky blue. Once again this is a really simple implementation. You create a skybox and attach it.

UnifiedEngine::SkyboxSolidColor box(glm::vec3(135, 206, 235));
UnifiedEngine::__GAME__GLOBAL__INSTANCE__->skybox = &box;

Now when you run the code, a nice sky colour should be rendered.

Last updated