I want to make soft edged water. so i make a render target to hold the depth of the scene, and then i render water geometry.
And let water alpha = ( SceneDepth - WaterDepth ) * Scale
looking at the results of the following chart, the edge of water is softed, but it seem strange, like a ladder.
so how to deal with?
Thanks very much!