1
0
Fork 0

Activate ALS volumetric grass effect for more regions

This commit is contained in:
Thorsten Renk 2017-06-03 17:45:04 +03:00
parent 70711d9c37
commit 7c44bf6721
5 changed files with 48 additions and 15 deletions

View file

@ -47,19 +47,23 @@
<name>Airport</name>
<name>AirportKeep</name>
<name>Greenspace</name>
<effect>Effects/airfield</effect>
<effect>Effects/grass</effect>
<texture-set>
<texture>Terrain/grass_dry2.png</texture>
<texture n="13">Terrain/grass_dry2.png</texture>
<texture n="14">Terrain/airport_grass_overlay.png</texture>
<texture n="20">Terrain/grass_dry2a.png</texture>
</texture-set>
<parameters>
<grit_alpha>0.4</grit_alpha>
<use_overlay>1</use_overlay>
<overlay_bias>0.5</overlay_bias>
<overlay_bias>0.5</overlay_bias>
<use_color_overlay>0</use_color_overlay>
<base_layer_magnification>1.0</base_layer_magnification>
<overlay_layer_magnification>8.0</overlay_layer_magnification>
<max_grass_height>0.3</max_grass_height>
<grass_density>0.7</grass_density>
<grass_groups>3</grass_groups>
</parameters>
<xsize>256</xsize>
<ysize>256</ysize>
@ -83,6 +87,7 @@
<bumpiness>0.1</bumpiness>
<load-resistance>1e30</load-resistance>
</material>
<material>
<name>dirt_rwy</name>

View file

@ -17,27 +17,32 @@
<!-- REGIONAL DEFINITIONS - CORSE -->
<material>
<material>
<name>Grass</name>
<name>Airport</name>
<name>AirportKeep</name>
<name>Greenspace</name>
<effect>Effects/airfield</effect>
<effect>Effects/grass</effect>
<texture-set>
<texture>Terrain/grass_dry2.png</texture>
<texture n="13">Terrain/grass_dry2a.png</texture>
<texture n="14">Terrain/grass_dry2.png</texture>
<texture n="15">Terrain/airport_grass_overlay.png</texture>
<texture n="20">Terrain/grass_dry2a.png</texture>
</texture-set>
<parameters>
<grit_alpha>0.4</grit_alpha>
<use_overlay>1</use_overlay>
<use_grain>1</use_grain>
<overlay_bias>0.0</overlay_bias>
<overlay_bias>0.0</overlay_bias>
<use_color_overlay>0</use_color_overlay>
<base_layer_magnification>1.0</base_layer_magnification>
<overlay_layer_magnification>1.3</overlay_layer_magnification>
<grain_layer_magnification>4.0</grain_layer_magnification>
<grass_modulate_by_overlay>1</grass_modulate_by_overlay>
<grass_modulate_height_min>0.25</grass_modulate_height_min>
<max_grass_height>0.22</max_grass_height>
<grass_groups>2</grass_groups>
</parameters>
<xsize>256</xsize>
<ysize>256</ysize>

View file

@ -98,19 +98,31 @@
<name>Grass</name>
<name>Airport</name>
<name>AirportKeep</name>
<effect>Effects/airfield</effect>
<name>Greenspace</name>
<effect>Effects/grass</effect>
<texture-set>
<texture>Terrain/california-airport.png</texture>
<texture n="13">Terrain/gravel_red.png</texture>
<texture n="14">Terrain/grass_dry2.png</texture>
<texture>Terrain/grass_dry3.png</texture>
<texture n="13">Terrain/grass_dry3a.png</texture>
<texture n="14">Terrain/grass_dry3a.png</texture>
<texture n="15">Terrain/airport_grass_overlay.png</texture>
<texture n="20">Terrain/grass_dry3a.png</texture>
</texture-set>
<parameters>
<grit_alpha>0.4</grit_alpha>
<use_overlay>1</use_overlay>
<overlay_bias>-0.1</overlay_bias>
<use_grain>1</use_grain>
<overlay_bias>0.0</overlay_bias>
<use_color_overlay>0</use_color_overlay>
<base_layer_magnification>1.0</base_layer_magnification>
<overlay_layer_magnification>1.3</overlay_layer_magnification>
<grain_layer_magnification>4.0</grain_layer_magnification>
<max_grass_height>0.25</max_grass_height>
<grass_density>1.0</grass_density>
<grass_groups>2</grass_groups>
<grass_modulate_by_overlay>1</grass_modulate_by_overlay>
</parameters>
<xsize>250</xsize>
<ysize>250</ysize>
<xsize>256</xsize>
<ysize>256</ysize>
<light-coverage>4000000.0</light-coverage>
<diffuse>
<r>0.93</r>

View file

@ -118,22 +118,27 @@
<name>Airport</name>
<name>AirportKeep</name>
<name>Greenspace</name>
<effect>Effects/airfield</effect>
<effect>Effects/grass</effect>
<texture-set>
<texture>Terrain/grass_dry3.png</texture>
<texture n="13">Terrain/grass_dry3a.png</texture>
<texture n="14">Terrain/grass_dry3a.png</texture>
<texture n="15">Terrain/airport_grass_overlay.png</texture>
<texture n="20">Terrain/grass_dry3a.png</texture>
</texture-set>
<parameters>
<grit_alpha>0.4</grit_alpha>
<use_overlay>1</use_overlay>
<use_grain>1</use_grain>
<overlay_bias>0.0</overlay_bias>
<overlay_bias>0.0</overlay_bias>
<use_color_overlay>0</use_color_overlay>
<base_layer_magnification>1.0</base_layer_magnification>
<overlay_layer_magnification>1.3</overlay_layer_magnification>
<grain_layer_magnification>4.0</grain_layer_magnification>
<max_grass_height>0.25</max_grass_height>
<grass_density>1.0</grass_density>
<grass_groups>2</grass_groups>
<grass_modulate_by_overlay>1</grass_modulate_by_overlay>
</parameters>
<xsize>256</xsize>
<ysize>256</ysize>

View file

@ -36,12 +36,13 @@
<name>Grass</name>
<name>Airport</name>
<name>AirportKeep</name>
<effect>Effects/airfield</effect>
<effect>Effects/grass</effect>
<texture-set>
<texture>Terrain/california-airport.png</texture>
<texture n="13">Terrain/gravel_red.png</texture>
<texture n="14">Terrain/grass_dry2.png</texture>
<texture n="15">Terrain/airport_grass_overlay.png</texture>
<texture n="20">Terrain/grass_dry2.png</texture>
</texture-set>
<parameters>
<grit_alpha>0.4</grit_alpha>
@ -50,6 +51,11 @@
<use_grain>1</use_grain>
<use_color_overlay>0</use_color_overlay>
<base_layer_magnification>0.6</base_layer_magnification>
<max_grass_height>0.35</max_grass_height>
<grass_density>0.5</grass_density>
<grass_groups>2</grass_groups>
<grass_modulate_by_overlay>1</grass_modulate_by_overlay>
<grass_modulate_height_min>0.0</grass_modulate_height_min>
</parameters>
<xsize>250</xsize>
<ysize>250</ysize>