ALS technical notes: Difference between revisions

Jump to navigation Jump to search
→‎Configuring the light: Showing <use> as property tag
(→‎Configuring the light: Showing <use> as property tag)
Line 1,488: Line 1,488:
</syntaxhighlight>
</syntaxhighlight>


to a property and change that property in the range from 0 to 1.
to a property and change that property in the range from 0 to 1. Eg:


<syntaxhighlight lang="xml">
    <intensity_scale>
      <use>/rendering/nav-lights-factor</use>
    </intensity_scale>
</syntaxhighlight>




Line 1,523: Line 1,528:


to true. If you want your own strobe pattern, generate a strobe function and use <b>intensity_scale</b> instead to pass it to the shader.
to true. If you want your own strobe pattern, generate a strobe function and use <b>intensity_scale</b> instead to pass it to the shader.


=== Complete example ===
=== Complete example ===
82

edits

Navigation menu