[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | [ Search: ] |
lighter2
Developer's Manual This section describes how lighter2
options can be set from inside a
Crystal Space ‘world’ file or library. The effect of options will not
be described in detail; refer to the “User's Manual” for a that.
lighter2
options are set with the help of key-value-pairs:
... <key name="lighter2" editoronly="yes" option=value ... /> ... |
Such a ‘key’ node must be placed inside a ‘meshobj’ node for mesh object options respectively a ‘meshfact’ node for mesh factory options.
Here, ‘name="lighter2"’ is used by lighter2
to identify keys
containing options. ‘editoronly="yes"’ instructs the engine to discard
the key-value-pait during normal execution in order to conserve memory (since
the lighter2
-specific settings are simply not needed). The actual
options are specified by a number of ‘option=value’ pairs.
vertexlight
Values: ‘yes’, ‘no’
Enable per-vertex lighting.
lmscale
Values: floating point values
Control lightmap density.
This document was generated using texi2html 1.76.