[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Section 6.8 forgetting to mention alpha factors?



Hi Benoit,
  This limitation was introduced to get around the fact that D3D9 only allows the program to supply only a single constant color value for blending and does not have the equivalent of CONSTANT_ALPHA supplied for the color channels. This is not an issue for the value supplied to the alpha factor as both CONSTANT_COLOR and CONSTANT_ALPHA produce the same result.

Vangelis


On Fri, Nov 26, 2010 at 2:10 PM, Benoit Jacob <bjacob@mozilla.com> wrote:
Hi,

Section 6.8 "Blending With Constant Color", in the case of blendFuncSeparate, mentions only the srcRGB and dstRGB factors, but doesn't mention the corresponding factors for alpha. Is this an omission?

Related webkit bug filed:
 https://bugs.webkit.org/show_bug.cgi?id=50118

Cheers,
Benoit
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: