You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Draw translucent objects sorted from furthest away to nearest
Currently, voxel-shader draws all opaque/transparent objects first, then translucent objects with blending enabled. However, the meshes are not sorted (voxel/voxel-mesher#9) and the depth mask is not enabled or disabled (this issue, GH-8).
From mikolalysenko in #2:
or http://stackoverflow.com/questions/3388294/opengl-question-about-the-usage-of-gldepthmask, similar process:
Currently, voxel-shader draws all opaque/transparent objects first, then translucent objects with blending enabled. However, the meshes are not sorted (voxel/voxel-mesher#9) and the depth mask is not enabled or disabled (this issue, GH-8).
https://www.opengl.org/sdk/docs/man/html/glDepthMask.xhtml
The text was updated successfully, but these errors were encountered: