FlightGear Newsletter February 2011: Difference between revisions

Jump to navigation Jump to search
First draft for lightmaps paragraph
(First draft for lightmaps paragraph)
Line 23: Line 23:
For this reason it is specified that only mono files will be used for 3D audio processing and stereo files will be mixed using the stereo mixer instead. Trying to set a position or direction for a stereo file will result in an error like:
For this reason it is specified that only mono files will be used for 3D audio processing and stereo files will be mixed using the stereo mixer instead. Trying to set a position or direction for a stereo file will result in an error like:
  ''Failed to load WAV file: Unsupported mode within an otherwise usable file type''
  ''Failed to load WAV file: Unsupported mode within an otherwise usable file type''
===Lightmaps supported===
{{Main article|Howto: Lightmap}}
[[File:Boeing 747-400 lightmap exterior.png|thumb|[[747-400]] with lightmapped exterior.]]
[[User: Gijs|Gijs]] has been working on lightmap support in FlightGear, with the help of [[User: AndersG|AndersG]]. Lightmaps are image files that define what pixels of a texture should be lighten, how intense and what color. Ideal for night lights on liveries (no need to create a special lights .png file for each single livery; like we used to do) and cockpit panels. Currently there is very limited support for lightmaps. There is not yet a good conditional available for example, and it won't work in combination with other [[shaders]].


== Nasal for newbies ==
== Nasal for newbies ==

Navigation menu