Skip to main content
gamedev.net
🔒 Locked

skybox

Started by supagu 1 reply 400+ views
Original Post
supagu
supagu
im trying to do sky box in my engine, is there a way, that we can disable the camera frustrum, so that when i tell it to render the sky, it will always be rendered no matter if its out of the cameras frustrum (far clipping plane)?
falkone
falkone
I think what you want is a skybox unaffected by the far clipping plane, yet not overlapping the rest of the level. To do this, you could draw the skybox with the depth buffer turned off. Then you re-enable the depth buffer and draw everything else. No matter what the depth of everything else, it will draw over the skybox becuase it''s depth is zero.
Disclaimer: "I am in no way qualified to present advice n any topic concerning anything and can not be held responsible for any damages that my advice may incurr (due to neither my negligence nor yours)" o
supagu
supagu
ah this is exactly what im loking for, thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.