skybox disabling depthbuffer ??

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

skybox disabling depthbuffer ??

Post by Ghoti »

Hi folks,

I want to create a skybox and i want it to render before all else but so that it has no depth or something, because my skybox has coordinates of 0.5 to -0.5 so if depth is on nothing is rendered over it because it is to close...
how can i disable it ?

or are there any other solutions to this ?
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

sceGuDepthMask(GU_TRUE);

and GU_FALSE to enable depth-writes. You can also disable the depth test with sceGuDisable(GU_DEPTH_TEST);
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Post Reply