diff --git a/Docs/README.materials b/Docs/README.materials index 4f02af8ed..c72e2e4e2 100644 --- a/Docs/README.materials +++ b/Docs/README.materials @@ -83,8 +83,8 @@ light-edge-color/r ... : Light colour, with r,g,b,a properties. Default 1.0, re line-feature-tex-x0 : x0 texture coordinate for WS3.0 line features line-feature-tex-x1 : x1 texture coordinate for WS3.0 line features -line-feature-offset-m : vertical offset of line feature from underlying mesh. - May be used to ensure roads go over rivers +line-feature-offset-m : vertical offset of line feature from underlying mesh in meters. + May be used to ensure roads go over rivers. Defaults to 1m. ambient : The ambient light colour for the material, specified as separate r, g, b, a components (default: all color components 0.2, alpha 1.0). diff --git a/Docs/README.scenery b/Docs/README.scenery index 0e1e89e2f..7e3dc54c3 100644 --- a/Docs/README.scenery +++ b/Docs/README.scenery @@ -515,9 +515,10 @@ Syntax Where: - is the name of a file containing linear feature positions, may be a .gz file -- is the name of the material that will be used to render. +- is the name of the material that will be used to render the feature. + This can use an Effect as normal, e.g. for road traffic. -See README.materials for details on configuring the random vegetation parameters. +See README.materials for details on configuring the linear feature parameters. The referenced (in the example road.txt.gz) contains lines of the form @@ -528,7 +529,10 @@ Where: - W is the feature width in meters. - ATTR is an integer value used to store packed attributes (e.g. bitwise. Bit 1 is for lit) - A,B,C,D are float values used to store attributes (currently unused) -- lonN, latN are lon/lat pairs on the center of the line feature. There must be at least two pairs +- lonN, latN are lon/lat pairs on the center of the line feature. There must be at least two pairs. + +The linear feature will be built on top of the terrain, offset by the line-feature-offset-m parameter +of the material definition. 3.12 OBJECT_LIGHT ------------------