ALS technical notes: Difference between revisions

Jump to navigation Jump to search
(Updated aircraft section)
Line 759: Line 759:


Finally, the intensity determines how brightly the illuminated pixel will shine.
Finally, the intensity determines how brightly the illuminated pixel will shine.
Ambiance lighting can be simulated with the following tags.
<syntaxhighlight lang="xml">
<residual-ambience-r type="float"><use>/fdm/jsbsim/systems/light/cockpit-ambience-r</use></residual-ambience-r>
<residual-ambience-g type="float"><use>/fdm/jsbsim/systems/light/cockpit-ambience-g</use></residual-ambience-g>
<residual-ambience-b type="float"><use>/fdm/jsbsim/systems/light/cockpit-ambience-b</use></residual-ambience-b>
</syntaxhighlight>
In the above example note the use of the "use" tag.
<syntaxhighlight lang="xml">
<use>/fdm/jsbsim/systems/light/cockpit-ambience-r</use>
</syntaxhighlight>
This can be any defined property or static value.


=== Irradiance maps ===
=== Irradiance maps ===
373

edits

Navigation menu