Originally Posted By: sivan
water becomes transparent if nothing is under

Afaik that problem related with DeptView. You are A8 user right? You can clear the view's background. Set NOSKY flag for depth view and clear it's background.

Code:
set(DepthView,...|.....|....|NOSKY);
DepthView.bg = pixel_for_vec(COLOR_BLACK,0,8888);