Howto:Multi-channel lightmap: Difference between revisions

Jump to navigation Jump to search
Line 256: Line 256:




Aircraft/SpaceShuttle/Models/cockpit.xml
{{fg aircraft file|path=SpaceShuttle/Models/cockpit.xml}}
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<effect>
<effect>
Line 271: Line 271:




Aircraft/SpaceShuttle/Models/Effects/Interior/shuttle-interior.eff
{{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 ==

Navigation menu