342
edits
No edit summary |
No edit summary |
||
Line 217: | Line 217: | ||
== Creating a custom rendering pipeline == | == Creating a custom rendering pipeline == | ||
Since the Compositor is completely data-driven, new rendering pipelines can be created by writing a custom XML pipeline definition. This section tries to document most of the available parameters, but the best and most up-to-date resource is the Compositor parsing code in SimGear ({{simgear file|simgear/scene/viewer}}). | Since the Compositor is completely data-driven, new rendering pipelines can be created by writing a custom XML pipeline definition. This section tries to document most of the available parameters, but the best and most up-to-date resource is the Compositor parsing code in SimGear ({{simgear file|simgear/scene/viewer}}). See existing pipelines in {{fgdata file|Compositor}} for practical examples on how to use these parameters. | ||
=== Buffers === | === Buffers === | ||
Line 223: | Line 223: | ||
A buffer represents a texture or, more generically, a region of GPU memory. | A buffer represents a texture or, more generically, a region of GPU memory. | ||
{| class="wikitable" style="text-align: center; font-size: 85%; width: auto; table-layout: fixed; | {| class="wikitable" style="text-align: center; font-size: 85%; width: auto; table-layout: fixed; | ||
! scope="col" | Parameter Name | ! scope="col" | Parameter Name | ||
Line 339: | Line 319: | ||
| <tt>lequal</tt> | | <tt>lequal</tt> | ||
| | | | ||
|} | |} | ||
edits