Support - Forum aa
« Back to Support» Disabling Z-Buffer
Posted on 10.27.2011 by Cavalcanti, Eduardo
Hi guys,
I'm looking for a Stage3D API to my app but I need to disable z-buffer test to make an effect like css z-index.
After reading your docs I didn't found a way to do this. It's possible?
Thanks!
Edu
I'm looking for a Stage3D API to my app but I need to disable z-buffer test to make an effect like css z-index.
After reading your docs I didn't found a way to do this. It's possible?
Thanks!
Edu
Reply By Nehmad, Ariel 10.27.2011
Hi Eduardo, you can dissable the z-buffer on the materials.
material.depthWrite = false;
material.depthCompare = "always"
material.depthWrite = false;
material.depthCompare = "always"
Popular
- 1. Question of Alpha sorting system
- 2. Rndering issue on AIR Mobile build
- 3. Problems with bone position?
- 4. Is it possible to make a primitive...
- 5. Messed up textures in Flare 3d Studio
- 6. Moving "by hand" the corners of a Plane
- 7. Shapes, splines and knots
- 8. Diferencia entre Flare3D Studio y...
- 9. Transform between two states
- 10. ReferenceError: Error #1074
