gl buffer mapping and indexed buffer interfaces
copy material colour data into constmat