[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] Is it possible to use multiple indexes in WebGL when drawing?


Is it possible to use multiple indexes in WebGL when drawing?
The idea is to use its own index for each attribute.

For example:
for the square:
0 4 1 4 2 4 0 4 3 4 2 4
here in each pair of indices, first index - the index of the vertex, the second - the index of normal

Best Regards, Ivan Popov.