On 28/07/06, Jason Green jave27@gmail.com wrote:
- GLSL: Translate oC0-oC3 output registers (multiple render targets)
to gl_FragData[] register. We don't support draw buffers yet, but this allows shader programs that use those registers to compile (such as Settlers 2)
If you do that, you should use gl_FragData[] for *all* render targets, including the first one. gl_FragColor will write to all render targets.