Particle Effects and zwrite

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

Moderators: cheriff, TyRaNiD

Post Reply
starman2049
Posts: 75
Joined: Mon Sep 19, 2005 5:41 am

Particle Effects and zwrite

Post by starman2049 »

I am porting an existing PS2/DX game that rely's on being able to disable the zWrite (while still checking the zBuffer) for particle effects. The PS2 and DirectX both have this ability but I don't yet see it on the PSP. Does anyone know if you can do this on the PSP?
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post by chp »

sceGuDepthMask() is what you need. PSPGL probably have something similar (glDepthMask() should be available if it has been implemented).
GE Dominator
starman2049
Posts: 75
Joined: Mon Sep 19, 2005 5:41 am

Post by starman2049 »

This works great - thanks!!
jsgf
Posts: 254
Joined: Tue Jul 12, 2005 11:02 am
Contact:

Post by jsgf »

chp wrote:(glDepthMask() should be available if it has been implemented).
Yep, it's there.
Post Reply