269
edits
Line 77: | Line 77: | ||
== Running Flightgear with Rembrandt == | == Running Flightgear with Rembrandt == | ||
The Rembrandt renderer is now integrated in the main repository but needs to be enabled to run. Use the <tt>--enable-rembrandt</tt> option to start Flightgear with this new renderer. | |||
Rembrandt is quite demanding in GPU resources and may fail to run with the default options. The more frequent symptom is an OSG message in the console : | |||
RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6 | |||
Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support multiple color outputs. | |||
Some card also exhibit messages like this : | |||
glLinkProgram "" FAILED | |||
Program "" infolog: | |||
Fragment info | |||
------------- | |||
0(37) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable | |||
0(36) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable | |||
0(35) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable | |||
0(34) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable | |||
There is a number of additional options that can help to avoid these problems : | |||
{| | |||
|<tt>--prop:/sim/rendering/no-16bit-buffer=true</tt> | |||
|Some earlier card don't support 16 bit 2-components textures (RG16 internal format), or as a framebuffer object attachment when mixed with 8bit 4-components buffers | |||
|- | |||
|<tt>--prop:/sim/rendering/shadows/enabled=false</tt> | |||
|Disable shadows altogether. This setting is changeable at runtime in the rendering option dialog. | |||
|- | |||
|<tt>--prop:/sim/rendering/shadows/map-size=<power-of-two></tt> | |||
|Set the shadow map size. Useful values are 1024, 2048, 4096 or 8192. Few cards have the resources to support 16384. | |||
|} | |||
== Guidelines for shader writers == | == Guidelines for shader writers == |
edits