Hi
I'm trying to make the WaterRenderPass effect a little more transparent but I can't quite figure out how. Any of the settings I try don't have much effect on the transparency. Any ideas?
Thanks!
I don't think you can easily (I might be wrong - usually am)
I don't know much about multiple pass rendering, but I think because a second pass handles the water, there's no simple way to adjust the transparency, and you need to modify the shader.
I had a quick play and modified the vertex shader - multiplying up the refraction colour and multiplying the water colour down to make the refracted colour more prominent, which seemed to make the water appear clearer.
Better solutions welcomed tho
Problem with transparency is due to DepthTexture, personaly I remove it from pass to get a transparent water.
Thanks for the tips! I will give them a try and let you know how it works out.
cheers