[x3d-public] SFImage component mismatch
Andreas Plesch
andreasplesch at gmail.com
Sun Sep 15 13:11:00 PDT 2019
A question on PixelTexture came up on how to treat SFImage pixel
values which do not match the number of components. For example,
"1 1 1 0xAABB"
gives a value larger than 0xFF for the one component pixel.
Is this just invalid or should the value be masked to the lower byte, 'BB' ?
If invalid, is there guidance on how browsers should render ? black ?
-Andreas
--
Andreas Plesch
Waltham, MA 02453
More information about the x3d-public
mailing list