File: river_texture.inc

package info (click to toggle)
terraform 0.9.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,008 kB
  • ctags: 2,529
  • sloc: ansic: 28,422; sh: 3,336; pascal: 1,896; makefile: 710; yacc: 318
file content (25 lines) | stat: -rw-r--r-- 515 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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]
      }
    }
}