269
edits
(→Stages) |
(→Stages) |
||
Line 142: | Line 142: | ||
<name>stage-name</name> | <name>stage-name</name> | ||
<type>stage-type</type> <!-- optional if name is one of the predefined type except fullscreen --> | <type>stage-type</type> <!-- optional if name is one of the predefined type except fullscreen --> | ||
<order-num>1</order-num> | <order-num>-1</order-num> | ||
<effect>Effects/fullscreen-effect</effect> <!-- only if type == fullscreen --> | <effect>Effects/fullscreen-effect</effect> <!-- only if type == fullscreen --> | ||
<needs-du-dv>true</needs-du-dv> <!-- only if type == fullscreen --> | <needs-du-dv>true</needs-du-dv> <!-- only if type == fullscreen --> | ||
Line 158: | Line 158: | ||
<!-- Nth attachment definition --> | <!-- Nth attachment definition --> | ||
</attachment> | </attachment> | ||
<!-- Passes only for the lighting stage --> | |||
<pass> | |||
<!-- First pass definition --> | |||
</pass> | |||
<pass> | |||
<!-- Nth pass definition --> | |||
</pass> | |||
</stage> | </stage> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 176: | Line 184: | ||
===== Passes ===== | ===== Passes ===== | ||
Passes are only available in the <tt>lighting</tt> stage | Passes are only available in the <tt>lighting</tt> stage. Three kind of stage are allowed : | ||
{| class="wikitable" | |||
!align="left"| Pass type | |||
!align="left"| Purpose | |||
|- | |||
|sky-clouds | |||
|Renders the skydome, sun, moon, planet, stars and clouds | |||
|- | |||
|lights | |||
|Renders additional spot and point lights | |||
|- | |||
|fullscreen | |||
|Fullscreen pass analog to a fullscreen stage except that it renders in the buffers attached to the lighting stage | |||
|} | |||
<syntaxhighlight lang="xml"> | |||
<pass> | |||
<name>pass-name</name> | |||
<type>pass-type</type> <!-- optional if name is one of the predefined type except fullscreen --> | |||
<order-num>-1</order-num> | |||
<effect>Effects/fullscreen-effect</effect> <!-- only if type == fullscreen --> | |||
<!-- optional condition --> | |||
<condition> | |||
<!-- Valid boolean expression --> | |||
</condition> | |||
</pass> | |||
</syntaxhighlight> | |||
== Running Flightgear with Rembrandt == | == Running Flightgear with Rembrandt == |
edits