Shader

From FlightGear wiki
Revision as of 19:57, 14 September 2009 by Gijs (talk | contribs) (New page: {{stub}} {| cellpadding="4" cellspacing="0" align="right" style="clear:right;" |- | align="left" style="background:#fafafa; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.
Image:SnowAtAltitude1.jpg Image:SnowAtAltitude2.jpg

Scenery around LFLJ with the snow effect disabled (left) and enabled (right).

Image:SnowAtAltitude1.jpg Image:SnowAtAltitude2.jpg

Scenery around TNCM with water reflections disabled (left) and enabled (right).

A shader is a set of software instructions, which is used primarily to calculate rendering effects on graphics hardware, like water reflections and shadows.

Shaders in FlightGear

Currently some new shaders are available in CVS, including (sun on) water reflections and snow at altitude. The random trees in the scenery are alse generated making use of shaders.

With the switch from PLIB to OSG, as of version 1.9, FlightGear lost its shadows. However they are currently being fixed for OSG.

The shaders can be en-/disabled through the View > Rendering Options dialog.