28 Jul
2006
28 Jul
'06
7:51 a.m.
On 28/07/06, Jason Green <jave27(a)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.