Project Rembrandt: Difference between revisions

("error C6013" shouldn't appear because Rembrandt no longer use arrays in fragment shaders for shadows)
Line 235: Line 235:
  RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6
  RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6
  Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support multiple color outputs.
  Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support multiple color outputs.
The ssao effect provided in v2.8.0 may generate these messages, more often on Mac :
<pre>
FRAGMENT glCompileShader "/Users/xxxx/Desktop/FlightGear.app/Contents/Resources/../Resources/data/Shaders/ssao.frag" FAILED
FRAGMENT Shader "/Users/J2MA/Desktop/FlightGear.app/Contents/Resources/../Resources/data/Shaders/ssao.frag" infolog:
ERROR: 0:20: 'array of 2-component vector of float' : constructor not supported for type
ERROR: 0:20: 'array of 2-component vector of float' : no matching overloaded function found
ERROR: 0:20: 'const 2-component vector of float' : cannot declare arrays of this type
ERROR: 0:20: 'v' : redefinition
ERROR: 0:55: 'reflect' : no matching overloaded function found
ERROR: 0:55: '=' :  cannot convert from 'float' to '2-component vector of float'
glLinkProgram "" FAILED
Program "" infolog:
ERROR: One or more attached shaders not successfully compiled
</pre>
In that case, disable ambient occlusion with the command :
<tt>--prop:/sim/rendering/rembrandt/ambient-occlusion-buffers=false</tt>


There is a number of additional options that can help to avoid these problems :
There is a number of additional options that can help to avoid these problems :
269

edits