Howto:Multi-channel lightmap: Difference between revisions

no edit summary
No edit summary
Line 9: Line 9:
FG supports both single channel maps (the rgb value of the lightmap encodes the full color of the light at that pixel) and multi-channel lightmaps. In these, each r,g,b and a of the lightmap texture specify intensity of the light, the color (which can then not vary across the lightspot) has to be supplied per channel as a parameter.  
FG supports both single channel maps (the rgb value of the lightmap encodes the full color of the light at that pixel) and multi-channel lightmaps. In these, each r,g,b and a of the lightmap texture specify intensity of the light, the color (which can then not vary across the lightspot) has to be supplied per channel as a parameter.  


Lightmaps are supported in FG by {{Fgdata effect|model-combined-deferred.eff}} (for exterior views), {{Fgdata effect|model-interior.eff}} (cockpit interiors, ALS only) and {{Fgdata effect|glass.eff}} (for reflections of a lit cockpit in the glass, ALS only).
Lightmaps are supported in FG by:
* {{Fgdata effect|model-combined-deferred.eff}} (for exterior views)
* {{Fgdata effect|model-interior.eff}} (cockpit interiors, ALS only) and  
* {{Fgdata effect|glass.eff}} (for reflections of a lit cockpit in the glass, ALS only).