skybox-crator edge is beyond distance see-able
Hi,
In the game the player is in a crator. I have a skybox.
Problem is this: when in the crator the edge of it is beyond the distance see-able. Sounds harmless but then it makes the edge of the skybox before the end of the crator.
I'd attach the jpg's but can't work out how to do that to these msgs..
Your post is somewhat confusing, but from what I can understand, you're saying that the skybox "hides" parts of the crator due to z-buffering, right?
You must be using the wrong method to render the skybox. The most common method to render a skybox is to center it at the camera pos, and render it with depth testing and depth-writing disabled. This must be done before any actual geometry is rendered.
You must be using the wrong method to render the skybox. The most common method to render a skybox is to center it at the camera pos, and render it with depth testing and depth-writing disabled. This must be done before any actual geometry is rendered.
I think he's saying that part of his crater disappears it gets beyond the depth clipping range, thus revealing the skybox behind. Perhaps you could colour your skybox the same colour as the crater near the bottom, so it doesn't look as weird? Or just increase the depth clipping range.
what I'm saying is the distant edge of the crator is beyond the far plane, hence the sky seems to go right down into the crator.
if you're feeling brave you can download the unfinished game here:
http://myweb.tiscali.co.uk/3drocknroll/
cheers
if you're feeling brave you can download the unfinished game here:
http://myweb.tiscali.co.uk/3drocknroll/
cheers
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement