Shader: Difference between revisions

Jump to navigation Jump to search
189 bytes added ,  2 January 2012
Line 3: Line 3:


== Shaders in FlightGear ==
== Shaders in FlightGear ==
[[FlightGear]] supports shaders since the switch from [[PLIB]] to [[OSG]] (FlightGear 1.9.0). The random trees in the scenery are alse generated making use of shaders.
[[FlightGear]] supports shaders since the switch from [[PLIB]] to [[OSG]] (FlightGear 1.9.0). FG 2.0 added the ability to program shaders and effects more easily (without modifying the core code) and use them for terrain and model materials. Old hard-coded shaders like the chrome shader or the random trees in the scenery were converted to the new system.


The Performance vs Quality slider in the <tt>View > Rendering Options</tt> dialog provides basic control. Setting it all the way to the left (Performance) will disable all shaders. At the right most position, all shaders will be shown at maximum quality. Most shaders are simple on/off, but some of the more demanding shaders have intermediate steps.
The Performance vs Quality slider in the <tt>View > Rendering Options</tt> dialog provides basic control. Setting it all the way to the left (Performance) will disable all shaders. At the right most position, all shaders will be shown at maximum quality. Most shaders are simple on/off, but some of the more demanding shaders have intermediate steps.
269

edits

Navigation menu