Skybox please
RogyDev opened this issue · 2 comments
RogyDev commented
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 ?
VBorisof commented
I think you can just create a huge cube, apply sky texture to it, and put yourself inside :)
RogyDev commented
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.