Closed SiebenCorgie closed 6 years ago
Coming with the next push, the engine will sort every mesh based on the distance to the player, then the farthest objects will be rendered first to get a correct blending behaviour for the transparent objects. However, this is not optimal.
I'll have to integrate flags for meshes based on their material, then only sort the transparent ones and draw them last. reference: https://github.com/SiebenCorgie/jakar-engine/issues/19
Coming with the next push, the engine will sort every mesh based on the distance to the player, then the farthest objects will be rendered first to get a correct blending behaviour for the transparent objects. However, this is not optimal.
I'll have to integrate flags for meshes based on their material, then only sort the transparent ones and draw them last. reference: https://github.com/SiebenCorgie/jakar-engine/issues/19