I just realized that to avoid water wave flickering, commenting the following line in sc_water.fx helps, without any effect on the shader quality or errors:

v = v + float3(10000.0f, 10000.0f, 10000.0f); // hack to avoid negative numbers


Free world editor for 3D Gamestudio: MapBuilder Editor