Transparency without additive blending
I want to make a basic voxel(ish)-water system, but I ran into a slight problem. Of course, I want the water to be transparent, but whenever I look trhough more than one layer of water, the texture gets darker with each face it goes through. How can I solve this?
Answer by Winterblood · Feb 13, 2016 at 06:41 PM
Without a screenshot or more detail on the context it's hard to advise.
But I suspect you'll need to change the water rendering so that only the outer faces of the water volume are drawn, like Minecraft. If you're drawing every block individually then you'll need to do this anyway to avoid wasting CPU and GPU time drawing the interior faces of mountains etc.
More detail on voxel mesh generation here: http://gamedev.stackexchange.com/questions/22664/how-can-i-improve-rendering-speeds-of-a-voxel-minecraft-type-game