Howto:Adding Cliffs To Terrain: Difference between revisions

m
→‎Texturing cliffs: <syntaxhighlight> demo.
m (→‎Texturing cliffs: <syntaxhighlight> demo.)
Line 54: Line 54:
Refer to the [[Howto:Regional Texturing]] page for general information on setting up regional materials. A cliff Effect is supplied with Flightgear (in "next" from early 2019). To use this, simply add the following at the top of the material definition file for the region:
Refer to the [[Howto:Regional Texturing]] page for general information on setting up regional materials. A cliff Effect is supplied with Flightgear (in "next" from early 2019). To use this, simply add the following at the top of the material definition file for the region:


<syntaxhighlight lang="xml">
  <material>
  <material>
  <name>Cliffs</name>
  <name>Cliffs</name>
Line 59: Line 60:
   ... (elided)
   ... (elided)
  </material>
  </material>
</syntaxhighlight>


The cliff effect includes both procedural texturing at highest rendering quality settings, and normal ALS texturing otherwise. Parameters for procedural texturing are the same as those for rock: see the relevant section of the [[Procedural Texturing]] page. Proper texturing relies on cliffs that were generated with the <code>--texture-cliffs</code> option (see above).
The cliff effect includes both procedural texturing at highest rendering quality settings, and normal ALS texturing otherwise. Parameters for procedural texturing are the same as those for rock: see the relevant section of the [[Procedural Texturing]] page. Proper texturing relies on cliffs that were generated with the <code>--texture-cliffs</code> option (see above).