Procedural texturing: Difference between revisions

Jump to navigation Jump to search
Line 414: Line 414:
[[File:Rock-crack1.jpg|300px|Stretch factor 1]]
[[File:Rock-crack1.jpg|300px|Stretch factor 1]]
[[File:Rock-crack7.jpg|300px|Stretch factor 7]]
[[File:Rock-crack7.jpg|300px|Stretch factor 7]]
Finally, stratified and slope line noise (see above) are also available as texture brightness modifiers. The parameters are
  <slope-contrast type="float">0.5</slope-contrast>
  <rock_strata type="int">0</rock_strata>
<slope-contrast> (value between 0 and 1) regulates how pronounced the slope lines are drawn and <rock_strata> (value 0 or 1) indicated whether stratified noise should be used or not.
  <base-color type="vec3d">0.9 0.95 0.94</base-color>
  <overlay-color type="vec3d">0.9 0.95 0.94</overlay-color>
  <overlay-alpha type="float">0.4</overlay-alpha>
  <overlay-bias type="float">0.0</overlay-bias>
  <contrast type="float">1.0</contrast>
  <slope-contrast type="float">0.3</slope-contrast>
  <crack-depth type="float">0.6</crack-depth>
  <crack-pattern-stretch type="float">7.0</crack-pattern-stretch>
  <rock-brightness type="float">1.0</rock-brightness>
  <grain-fade-power type="float">1.0</grain-fade-power>
  <rock_strata>0</rock_strata>


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

edits

Navigation menu