const float BUMP_SUPPRESS_DEPTH = 300; // at what water depth bumpmap will be supressed for reflections and refractions (prevents artifacts at shores)
const float BUMP_SUPPRESS_DEPTH = 300.0; // at what water depth bumpmap will be supressed for reflections and refractions (prevents artifacts at shores)