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

Re: [Public WebGL] about texImage2D and UNPACK_PREMULTIPLY_ALPHA_WEBGL



On Mon, Dec 6, 2010 at 2:34 PM, Benoit Jacob <bjacob@mozilla.com> wrote:
> Hi,
>
> In 5.13.8 about texImage2D, the following text seems unclear to me:
>
>> " If the original image semantically contains an alpha channel and the UNPACK_PREMULTIPLY_ALPHA_WEBGL pixel storage parameter is false, then the alpha channel is guaranteed to never have been premultiplied by the RGB values, whether those values are derived directly from the original file format or converted from some other color format. "
>
> The phrase "the alpha channel is guaranteed to never have been premultiplied by the RGB values" seems to have alpha and RGB mixed up, right? So it should be "the RGB values are guaranteed to never have been premultiplied by the alpha channel".

Thanks for the feedback. I think I wrote that sentence or at least
part of it. I've reorganized it as you suggested.

> Also, I don't understand what "semantically" means in the above sentence.

I was probably just being wordy. Removed.

-Ken

> 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:
>
>

-----------------------------------------------------------
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: