Advertisement

SkyBox

Started by April 16, 2005 09:10 AM
2 comments, last by adam17 19 years, 10 months ago
I've got a simple skybox with grass and sky and i want to be able to fly an aircraft in it. All it needs to do is to fly along the Z-plane(ie straight). i'm having a bit of difficulty making the box long enough though. if i repeat the top, bottom, right and left and just have the front and back at the end, i get a tunnel affect and i can't see the front or back until i'm close to it. Has anyone got any suggestions? is there a simple way of maybe moving the front and back alone with the camera view?
Sorry, got it sorted :)
Advertisement
i thought the best way to make a skybox was to disable depth testing, draw a textured cube around the camera, enable depth testing and then proceed drawing the rest of the scene.

This topic is closed to new replies.

Advertisement