hint(ENABLE_DEPTH_SORT) issues

A while back @hamoid shared a piece of code that combines several types of hint: Program to test hint() with transparency. Maybe there is something in there which works better for your sketch.

Your performance issue can likely be improved by optimizing your code. If you manage to figure out where your sketch is having a hard time, you could try to do more in-depth research how to improve these parts. There is a nice guide on https://github.com/processing/p5.js/wiki/Optimizing-p5.js-Code-for-Performance that explains possible methods. It’s for P5 sketches, but the same principles can be applied on your Processing Java sketch.

1 Like