# DISABLE\_DEPTH\_TEST not working in P3D

**URL:** <https://discourse.processing.org/t/disable-depth-test-not-working-in-p3d/5995>\
**Category:** Processing\
**Created:** [November 27, 2018, 2:30pm UTC](https://discourse.processing.org/t/disable-depth-test-not-working-in-p3d/5995 "2018-11-27T14:30:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)\
**Post date:** [November 29, 2018, 2:55pm UTC](https://discourse.processing.org/t/disable-depth-test-not-working-in-p3d/5995/2 "2018-11-29T14:55:15Z")

</div>

Hi! Maybe you can test the different options with this program?

> [@Program to test hint() with transparency](https://discourse.processing.org/t/program-to-test-hint-with-transparency/4361):
>
> A small Processing program to test the effect on transparency of enabling and disabling these settings: hint(DISABLE\_DEPTH\_TEST); // or ENABLE\_ hint(DISABLE\_DEPTH\_SORT); // or ENABLE\_ hint(DISABLE\_DEPTH\_MASK); // or ENABLE\_ boolean b[] = new boolean[3]; void setup() { size(800, 600, P3D); hint(DISABLE\_DEPTH\_TEST); hint(DISABLE\_DEPTH\_SORT); hint(DISABLE\_DEPTH\_MASK); } void draw() { background(255); fill(0); text("DEPTH\_TEST " + b[0]…

By enabling DEPTH\_SORT it seems to render what you expect…

---

_[View the full topic](https://discourse.processing.org/t/disable-depth-test-not-working-in-p3d/5995)._
