Procedural texturing: Difference between revisions

Jump to navigation Jump to search
Line 174: Line 174:


The default value is 0.0, the parameter can range from -0.5 (strong suppression of the hires overlay texture) to +0.5 (strong enhancement of the hires overlay texture).
The default value is 0.0, the parameter can range from -0.5 (strong suppression of the hires overlay texture) to +0.5 (strong enhancement of the hires overlay texture).
==== The gradient texture ====
The gradient texture is exclusively used for steep terrain gradients (significantly steeper than the point at which the overlay texture may be used) to account for the fact that beyond a certain slope, terrain can not have vegetation cover and hence landclass information needs to be corrected if necessary.
The default texture is rock.png which is hence used for all landclasses unless specifically declared otherwise. The default may be inappropriate in some regions (volcanic terrain with different rock hue, tropical terrain in which even steep slopes are covered) - the gradient texture then needs to be declared a different texture for all materials in the area. Declaring void.png will not use a gradient texture.
The gradient texture does not use any parameters.
* declaration:
<texture-set>
  <texture>base_texture.png</texture>
  <texture n="11">hires_texture.png</texture>
  <texture n="12">overlay_texture.png</texture>
  <texture n="13">gradient_texture.png</texture>
</texture-set>


=== Pixel color postprocessing ===
=== Pixel color postprocessing ===
1,360

edits

Navigation menu