opengl-tutorials/ogl

Skybox please

RogyDev opened this issue · 2 comments

I have been looking for a good opengl tutorial and i find this cool one. I am using it in my project but a notice that it is not include skybox exemple.

So plz how to create a skybox ?

I think you can just create a huge cube, apply sky texture to it, and put yourself inside :)

Thank you for the replay, i have created a cube and i apply a cubemap texture to it, and before rendering it i used glDepthFunc(GL_LEQUAL) so everything else will be inside it.
Thank so much for those tutorials.