ALS technical notes: Difference between revisions

Jump to navigation Jump to search
Line 793: Line 793:


This can be any defined property or static value.
This can be any defined property or static value.
'''Special note:'''
The implicit lightmap inherits model-interior, model-interior.eff is setup around the opacity cube map, it won't allow you to go without one, and in the event you try, you get an environment reflection cube map as default which happens to have green grass on it and may cast a greenish hue over applied objects.
A workaround is to create a pseudo cubemap by creating a white.png 64x64 square, and creating the following structure to represent a transparent cubemap.
<syntaxhighlight lang="xml">
<texture n="4">
  <type>cubemap</type>
    <images>
      <positive-x>Aircraft/c172p/Models/Effects/interior/white.png</positive-x>
      <negative-x>Aircraft/c172p/Models/Effects/interior/white.png</negative-x>
      <positive-y>Aircraft/c172p/Models/Effects/interior/white.png</positive-y>
      <negative-y>Aircraft/c172p/Models/Effects/interior/white.png</negative-y>
      <positive-z>Aircraft/c172p/Models/Effects/interior/white.png</positive-z>
      <negative-z>Aircraft/c172p/Models/Effects/interior/white.png</negative-z>
  </images>
</texture>
</syntaxhighlight>


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

edits

Navigation menu