LWJGL transparency issues

Okay, so the past three days I’ve been playing around with a voxel engine, and right now I’m working on water and semi-transparent textures. However, I’ve hit a wall. Or rather, a number of walls.

[spoiler]

[/spoiler]

Now, the weird thing is this: the water tiles at the moment have a custom render code, and it will only ever render a top face, yet it will show these weird faces. However, if you turn around, these faces disappear like so:

[spoiler]

[/spoiler]

Does anyone know what would cause this?

It looks like a simple render order problem. Are you sorting and rendering back to front?

Edit: Also, make sure you are rendering all opaque voxels before any transparent stuff. That could be the main issue.

Well, it’s a start I guess.

Resorted how the voxels are rendered, and it removed part of the problem. However, the faces still seem to pop up on the chunk boundaries.

Then sort the chunks back to front. :wink: Or render ALL opaque tiles then transparent tiles.