1,360
edits
Line 657: | Line 657: | ||
=== Implicit lightmap === | === Implicit lightmap === | ||
At lowest quality level, the effect supports an implicit lightmap, i.e. a color range of the basic texture can be selected and declared to act as a lightmap. This is specifically useful to render panel backlighting as in the example below: | |||
[[File:Ilightmap.jpg|600px|An implicit lightmap used to simulate a backlit panel]] | [[File:Ilightmap.jpg|600px|An implicit lightmap used to simulate a backlit panel]] | ||
The effect is off by default and switched on by setting | |||
<syntaxhighlight lang="xml"> | |||
<implicit-lightmap-enabled type="int">1</implicit-lightmap-enabled> | |||
</syntaxhighlight> | |||
The following parameters are available: | |||
<syntaxhighlight lang="xml"> | |||
<implicit-lightmap-tag-color type="vec3d">1.0 1.0 1.0</implicit-lightmap-tag-color> | |||
<implicit-lightmap-threshold-low type="float">0.5</implicit-lightmap-threshold-low> | |||
<implicit-lightmap-threshold-high type="float">1.5</implicit-lightmap-threshold-high> | |||
<implicit-lightmap-emit-color type="vec3d">1.0 1.0 1.0</implicit-lightmap-emit-color> | |||
<implicit-lightmap-intensity type="float">0.0</implicit-lightmap-intensity> | |||
</syntaxhighlight> | |||
=== Irradiance maps === | === Irradiance maps === |
edits