i use code GL.enable(GL.DEPTH_TEST)
html5 neko windows target is ok
android target not ok
In project.xml:
<window depth-buffer="true" />
thank you very mush player_03
it work
why depth_test not A default setting?
OpenFL’s renderer uses OpenGL without the depth buffer, so I assume they keep it disabled to save memory.
Use of the depth buffer can also interfere with alpha blending. This may be another reason it’s disabled by default.