BufferGeometry drawRange influence both face index & other vertices properties
The drawRange influence both face indexing & vertex attributes such as position.
For exemple if my index use the vertex 0 to 10, I was expecting setDrawRange( 0, 30 ) will do the job, but actually if I have more than 10 face indexed, then the extra face after the 10 first will not be draw,
I wonder if its a Webgl limitation or if we can separated setDrawRange in two function setVertexDrawRange & setIndexDrawRange.
Three.js version
- r98
Browser
- All of them
OS
- All of them
It is a WebGL limitation indeed. DrawRange maps to gl.drawElements() and gl.drawArrays()