Hello community, I am developing a game engine with processing, what a good idea! There is no complete one so far!
The problem starts when using a buffer with createGraphics () called “blitter”.
Transparencies are not displayed correctly.
I’m desperate because I do not know what to do to fix it …
The alpha_channel of the texture used in a cube adopts the color of the background and it is impossible to place translucent objects or simple 3d sprites
In the example I attached simply change the value of the variable “priority” to negative to paint the cube first with the key and then everything else.
I share the binary project to test directly and the project for processing.
Needs minimal and physical library;)
Thank you very much in advance for the help if someone can help me
VIDEO TO VIEW THE PROBLEM: https://www.dropbox.com/s/7u7lnaib2epv2lp/2019-06-03%2014-18-54.flv?dl=0