Replies: 1 comment 1 reply
-
Setting the alpha mode to
Excerpt from page 3 of this pdf If you need some of your voxels to have transparency they would need to be on a separate entity to avoid both issues. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to make a voxel game so I create a mesh and pass it to bevy, the problem is that for some reason when I'm bellow the top face of a voxel, i can see through it :


(vertex color is [0.0, 1.0, 0.0, 1.0] so opaque and alpha blending is set to Blend)
But i have a top face :
I've already checked in wireframe mode and all my vertices/triangles are there so it's not that i'm missing a face. I've also tried no backface culling, all the alpha blend mode and double sided and none of them fixes the issue.
Mesh asset + material :
I don't really know why it happens since the gpu should do a depth test to see which vertex/face is the closest to the camera and clip the one behind.
If you have any idea of how to fix this issue it would be appriciated.
Here are some info about my system, all driver up to date :
Beta Was this translation helpful? Give feedback.
All reactions