Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drawRanges but for selectively drawing instances? #197

Open
micahscopes opened this issue Apr 6, 2022 · 1 comment · May be fixed by #198
Open

drawRanges but for selectively drawing instances? #197

micahscopes opened this issue Apr 6, 2022 · 1 comment · May be fixed by #198

Comments

@micahscopes
Copy link

The way I understand it, drawRanges can be used to draw a subset of elements. I know with drawRanges you can specify the number of instances to draw of a given element range, but I'd like to be able to be able to draw all elements for a given subset of the drawCall's instance attribute buffers. Is there something like drawRanges but for instances?

@micahscopes
Copy link
Author

Looks like this could be possible using the WEBGL_draw_instanced_base_vertex_base_instance extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant