Advertisement
Guest User

TerrainSpec.yml

a guest
Jun 26th, 2015
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.83 KB | None | 0 0
  1. baseHeight:
  2.   base: 10
  3.   funcs:
  4.    # Tiny detail
  5.     - octaves: 9
  6.       persistence: 0.8
  7.       frequency: 0.15
  8.       low: 0.0
  9.       high: 50.0
  10.     # Small detail
  11.     - octaves: 6
  12.       persistence: 0.8
  13.       frequency: 0.05
  14.       low: 0.0
  15.       high: 100.0
  16.     # Large detail
  17.     - octaves: 8
  18.       persistence: 0.8
  19.       frequency: 0.003
  20.       low: -2000.0
  21.       high: 3000.0
  22.     # Mountains
  23.     - type: noise_cubed
  24.       op: mul
  25.       octaves: 7
  26.       persistence: 0.7
  27.       frequency: 0.002
  28.       low: -13.0
  29.       high: 13.0
  30.       clamp: [0.0, 1.0]
  31.       children:
  32.         - type: noise_cellular_squared
  33.           octaves: 3
  34.           persistence: 0.6
  35.           frequency: 0.05
  36.           low: -25000.0
  37.           high: 25000.0
  38.         - type: noise_ridged
  39.           octaves: 11
  40.           persistence: 0.5
  41.           frequency: 0.03
  42.           low: 0.0
  43.           high: 7500.0
  44.     # Plateaus
  45.     - type: noise_cubed
  46.       op: mul
  47.       octaves: 6
  48.       persistence: 0.6
  49.       frequency: 0.003
  50.       low: -25.0
  51.       high: 25.0
  52.       clamp: [0.0, 1.0]
  53.       children:
  54.        # Tall plateaus
  55.         - type: noise
  56.           octaves: 5
  57.           persistence: 0.55
  58.           frequency: 0.08
  59.           low: -13000.0
  60.           high: 8000.0
  61.           clamp: [0.0, 1500.0]
  62.         # Short plateaus
  63.         - type: noise
  64.           octaves: 5
  65.           persistence: 0.6
  66.           frequency: 0.1
  67.           low: -7000.0
  68.           high: 5000.0
  69.           clamp: [0.0, 750.0]
  70.     # Oceans
  71.     - type: noise
  72.       op: mul
  73.       octaves: 6
  74.       persistence: 0.75
  75.       frequency: 0.00015
  76.       low: -5.0
  77.       high: 7.0
  78.       clamp: [0.0, 1.0]
  79.       children:
  80.         - type: noise
  81.           op: sub
  82.           octaves: 6
  83.           persistence: 0.9
  84.           frequency: 0.002
  85.           low: 10000.0
  86.           high: 20000.0
  87.     # Rivers
  88.     - type: noise_ridged
  89.       octaves: 1
  90.       persistence: 0.1
  91.       frequency: 0.015
  92.       low: -185.0
  93.       high: 1.0
  94.       clamp: [0.0, 1.0]
  95.       children:
  96.       - type: cubed
  97.         op: sub
  98.         children:
  99.         - type: constant
  100.           low: 1.0
  101.           children:
  102.           - type: cubed
  103.             op: sub
  104.             children:
  105.             - type: constant
  106.               low: 1.0
  107.               op: mul
  108.               children:
  109.               - type: noise
  110.                 op: sub
  111.                 octaves: 8
  112.                 persistence: 0.6
  113.                 frequency: 0.1
  114.                 low: -200.0
  115.                 high: 800.0
  116.                 clamp: [0.0, 1000.0]
  117. temperature:
  118.   base: 172.0
  119.   funcs:
  120.     - octaves: 6
  121.       persistence: 0.9
  122.       frequency: 0.0006
  123.       low: -64.0
  124.       high: 64.0
  125. humidity:
  126.   base: 128.0
  127.   funcs:
  128.     - octaves: 6
  129.       persistence: 0.9
  130.       frequency: 0.0008
  131.       low: -128.0
  132.       high: 128.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement