summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-01-06 14:02:26 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-01-07 09:28:22 +0000
commit6d59b110d0db8ba3b99ee345e88ef4fb5e1d33fb (patch)
treef232b41323767de682a1ba709c3cc5dd5b31eacd /src
parent7840241b0aec3e40c1bad7ea9bddfebf699e976d (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