Table of Contents
The Material editor window, shown below, is opened using the 'Edit' button in the material manager window, or by selecting a material name in L3DT's 'Resources→Materials' menu.
The various settings and controls in this dialog box are explai
A unique string that identifies this material.
The file name of the material file (.mat.xml). Materials should be placed in the following directory or in subdirectories thereof:
The texture and bump-map for each material is built up from a number of layers. A material only needs to have one layer, but more can be added to provide detail at high texture / light-map resolutions. Typical materials in L3DT climates might have three to four texture layers.
The layer list shows the texture / bump-map layers used by this material.
Create a new layer, or create a copy of an existing layer if a layer is selected in the list. This option will open the layer editor dialog box, in which you may edit the new layer's settings.
Edit the selected material using the layer editor dialog box.
Remove the selected layer from the material's layer list.
Enables or disables bump-mapping for this material in the normal map and light map calculations. If disabled, this will override the bump map settings of each texture/bump-map layer.
The weighting of the bump map as a fraction of the final terrain normal vector. Values of 0.5-1 are typical, but larger values may be used for 'extreme' bump-mapping.
Enables or disables the strata texture overlay for this material (what's a strata overlay?)
The name of the image file to be used as the strata profile. This image should be a 1-dimensional 'vertical' image (i.e. long y-axis, example at left), the colour values of which are used to modulate the texture colour. The behavour is as follows:
The physical 'height' of a pixel in the strata profile. A value larger than the heightfield resolution is recommended to avoid dodginess on sloped terrain.
The weighting of the strata effect. A value of 0 gives no strata effect (just the regular texture), and a value of 1 gives the full strata effect.
If you would like to modify the colour balance of the material's texture, check the Enable colour balancing box and set the colour scaling factors in the edit boxes. For example, a Red value of 1.5 will make the red channel in the texture 50% brighter (i.e. more red), and a value of 0.5 will make it 50% darker (i.e. less red).
If you would like a preview of what the material's texture and bump-maps will look like after blending, press the preview button on the lower-left corner of the material editor dialog box. When you press this button, L3DT will generate a 1024×512 preview image of the texture and the bump-map side-by-side, such as the examples shown below:
There are some things to note about the preview option:
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported