# Png loses alpha when use rotate function,

**URL:** <https://discourse.processing.org/t/png-loses-alpha-when-use-rotate-function/15450>\
**Category:** Processing\
**Created:** [November 13, 2019, 7:00am UTC](https://discourse.processing.org/t/png-loses-alpha-when-use-rotate-function/15450 "2019-11-13T07:00:03Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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 13, 2019, 8:54am UTC](https://discourse.processing.org/t/png-loses-alpha-when-use-rotate-function/15450/17 "2019-11-13T08:54:45Z")

</div>

> [@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]…

---

_[View the full topic](https://discourse.processing.org/t/png-loses-alpha-when-use-rotate-function/15450)._
