There are 4 water entities I'm using in my level. Some works perfectly with the shader (I really like the water foam at the side, it looks real) and some are not.

The action for the water entities, I've just called like
Code:
action act_waterShadeC()
{
   sc_water(my);
}



And for additional waterplane
Code:
action act_waterSwamp()
{
  //set myDepth to 2, so water gets clipped when generating the depthmap
  sc_skill(my,sc_myDepth, 2);
  //set water material
  my.material = sc_mtl_water;	
}



But the additional waterplane has some render errors:


Anyone had encountered with this error? Thanks