#declare RIVER_LANDSCAPE_TEXTURE =
texture
{
    pigment { color <0.4, 0.5, 1.0, TF_WATER_CLARITY> }
    finish { reflection ((1.0 - TF_WATER_CLARITY))
      diffuse    0.15
      roughness  0.01 }


  scale 10.0
  translate <0, -10, 0>

  scale (1.0 - TF_WATER_LEVEL) / (1.0 - 0.24)
  translate <0.0, 1.0, 0.0>

    normal
    {
      average
      normal_map
      {
        [1.0 ripples 0.20  frequency 1300.0 phase 720.0 * clock]
        [1.0 ripples 0.30  frequency  343.0 phase 720.0 * clock]
      }
    }
}
