mgsx-dev / gdx-gltf

GLTF 2.0 3D format support and PBR shader implementation for LibGDX
Apache License 2.0
214 stars 50 forks source link

Model transparent sorting #121

Closed MikOfClassX closed 7 months ago

MikOfClassX commented 8 months ago

Hello,

I think there may be an issue in renderables transparent sorting you may look into.

https://github.com/mgsx-dev/gdx-gltf/assets/6151192/65c202de-84f2-48ca-a513-26af6be15156

Here's the test model file

atest.zip

mgsx-dev commented 7 months ago

Rendrer colliding transparent object is a classic issue (OpenGL limitation), not related to libgdx.

in your example, both objects have blended material, if you remove blending attribute from blue cube material, it displays properly.