| View previous topic :: View next topic |
| Author |
Message |
Ghoti
Joined: 31 Dec 2005 Posts: 288
|
Posted: Thu May 24, 2007 7:25 pm Post subject: skybox disabling depthbuffer ?? |
|
|
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 ? _________________ My PSP games:
Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Fri May 25, 2007 12:14 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|