View Full Version : 'alpha to coverage' and multiple render targets
03-30-2007, 01:43 AM
I can't see anything answering this in the ARB_multisample spec (correct me if I'm wrong), so does anyone know if 'alpha to coverage' should work when outputing to multiple colour buffers (COLOR0/1/2/3). If so, does anyone know the official line on whether the coverage mask calculation is based on the COLOR0 alpha of the fragment output or something else?
04-11-2007, 12:41 AM
Hmm... I wouldn't rely on this. Do you have multiple multisample buffers?
04-12-2007, 06:35 PM
I'm not 100% sure if that's mentioned anywhere in the spec, but I would expect it to use glFragData.a
04-13-2007, 02:33 AM
This is specified in ARB_draw_buffers:
If there are multiple output colors
being written to multiple buffers, the alpha used in alpha to
coverage and alpha test is the alpha of output color 0.
05-23-2007, 07:58 AM
That's exactly what I wanted to know.
(sorry for delay in acknowledgement. I hadn't subscribed to email updates).
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.