WebGL points / Added a color attribute

This commit is contained in:
Olivier Guyot
2018-12-27 21:39:00 +01:00
parent 435ef3070c
commit 0acfd7ab59
2 changed files with 48 additions and 16 deletions

View File

@@ -56,7 +56,8 @@ export const DefaultAttrib = {
TEX_COORD: 'a_texCoord',
OPACITY: 'a_opacity',
ROTATE_WITH_VIEW: 'a_rotateWithView',
OFFSETS: 'a_offsets'
OFFSETS: 'a_offsets',
COLOR: 'a_color'
};
/**