WebGLSamples / WebGL2Samples

Short and easy to understand samples demonstrating WebGL 2 features
Other
1.01k stars 143 forks source link

transform feedback separated #36

Closed trungtle closed 8 years ago

trungtle commented 8 years ago

@shrekshao @pjcozzi Ready for review. I didn't use a query to get the TRANSFORM_FEEDBACK_PRIMITIVES in the 2nd draw pass since WebGL2 can only get the query's result asynchronously. I opted to just hardcoded the VERTEX_COUNT length instead.

pjcozzi commented 8 years ago

@shrekshao do you have any feedback here?

trungtle commented 8 years ago

@pjcozzi I push dd9aa10 with updates according to your comments

pjcozzi commented 8 years ago

Looks good. Made a few tweaks in 8ccf5cce65f958d9fdf067961a3c9f50883128bd.