Blender Git Loki

Git Commits -> Revision ffc26fc

Revision ffc26fc by Mike Erwin (master)
November 14, 2016, 02:18 (GMT)
Gawain: add support for 10_10_10 vertex format

Most useful for packed normals, which take 1/3 the space of float32 normals.

2-bit alpha|w component is ignored for now.

Batch API can use these now, will add support to immediate mode API if desired.

Enabling on Windows first. Will enable on all platforms after we switch Blender to core profile.

Commit Details:

Full Hash: ffc26fc5a89c3e2e4477d9df92876a6b730b5590
Parent Commit: 1dbe26f
Lines Changed: +57, -1

2 Modified Paths:

/source/blender/gpu/gawain/vertex_format.c (+41, -0) (Diff)
/source/blender/gpu/gawain/vertex_format.h (+16, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021