Effects

From FlightGear wiki
Revision as of 16:37, 3 October 2015 by Hooray (talk | contribs) (http://forum.flightgear.org/viewtopic.php?f=6&t=27197&p=254833&hilit=README.effects#p254843)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.

1rightarrow.png See shaders for the main article about this subject.

the mechanism for such "post-processing" are so called "effects" (see $FG_ROOT/Docs/README.effects) and shaders: http://wiki.flightgear.org/Shader

But for that to be supported, you need to render to an offscreen rendering target (aka a texture/memory buffer) - Rembrandt basically consists basically of multiple such buffers chained together in a cascaded fashion.

By default, the standard rendering pipeline will not do this currently. However, to some extent, custom cameras can be used to emulate this: http://wiki.flightgear.org/Howto:Configure_camera_view_windows

For example, here's Chris Calef's custom camera setup for his "SkyBox server": http://wiki.flightgear.org/Howto:Configure_camera_view_windows#Required_changes_in_preferences.xml


These cameras can also be rendered to a buffer/texture [1]: http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Docs/README.multiscreen