Blender Git Commit Log

Git Commits -> Revision 7419656

Revision 7419656 by Mike Erwin (master)
October 16, 2016, 05:58 (GMT)
Gawain: new immSkipAttrib function

Now you can explicitly skip a vertex attribute -- you don't give it a value and it won't get a copy of the previous vert's value. Useful for flat interpolated per-primitive values.

This is an advanced feature. Expect garbage in the empty spaces, and copies of garbage if you rely on the attrib copy behavior after skipping.

Commit Details:

Full Hash: 741965615dfc5a56c1e35fa5e50c3ef228471352
Parent Commit: a4fe823
Lines Changed: +16, -0

2 Modified Paths:

/source/blender/gpu/gawain/immediate.c (+12, -0) (Diff)
/source/blender/gpu/gawain/immediate.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021