EDIT: sorry, solved again, in the water shader finalcolor required a .xyz at a certain place, but finally I rewrote a bit the end part to get better water than the original laugh
---------------------------

again a little problem, I rewrote object shaders to SM 3.0, to get better dynamic lights, but this results in incompatibility with the depth shader probably, resulting in wrong water, which becomes white at shores and next to objects in water where it should be transparent with foam - but only if these objects use sm 3.0.



I made a workaround, now water looks fine but a bit different, foam covers the full surface.



I would be happy if somebody could give me a hint how to resolve it to get the original appearance. depth and water shaders work only if sm 2.0 used for them. in the worst case I'll use it in this form laugh

Last edited by sivan; 07/02/13 13:54.

Free world editor for 3D Gamestudio: MapBuilder Editor