6,566
edits
(→Extending the multi-channel lightmap to use 8 channels or 2 X 4 rgba channels: Usage of the {{fg aircraft file}} and {{fg root file}} subtemplates of {{repo link}}.) |
(→Using XML and GLSL to activate the multi-channel lightmap in FlightGear: Usage of the {{fg aircraft file}} template and <code> tags.) |
||
Line 256: | Line 256: | ||
{{fg aircraft file|path=SpaceShuttle/Models/cockpit.xml}} | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<effect> | <effect> | ||
Line 271: | Line 271: | ||
{{fg aircraft file|path=SpaceShuttle/Models/Effects/Interior/shuttle-interior.eff}} | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
Line 303: | Line 303: | ||
Note: | Note: | ||
lm-F1-F2-F3-F4.png is the multi-channel (four channel) rgba lightmap. | <code>lm-F1-F2-F3-F4.png</code> is the multi-channel (four channel) rgba lightmap. | ||
lightmap-factor allows you to control the intensity of the lightmap effect. | lightmap-factor allows you to control the intensity of the lightmap effect. | ||
It is adjusted by a property created in the -set file (/fdm/jsbsim/systems/light/cabinlight#-intensity). | It is adjusted by a property created in the <code>*-set.xml</code> file (<code>/fdm/jsbsim/systems/light/cabinlight#-intensity</code>). | ||
== Extending the multi-channel lightmap to use 8 channels or 2 X 4 rgba channels == | == Extending the multi-channel lightmap to use 8 channels or 2 X 4 rgba channels == |