diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-06 14:02:26 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-07 09:28:22 +0000 |
commit | 6d59b110d0db8ba3b99ee345e88ef4fb5e1d33fb (patch) | |
tree | f232b41323767de682a1ba709c3cc5dd5b31eacd /src | |
parent | 7840241b0aec3e40c1bad7ea9bddfebf699e976d (diff) |
qgltf: Promote rgb to rgba for common material values
The spec uses FLOAT_VEC4 for colors. This means that while in the
custom material case we can use vec3 since we provide the type
information, the common materials path needs to promote all colors
to RGBA.
Change-Id: I1ac403807d0d6f0e9dfe14ea704c7f4a325495fa
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions