Skip to content

How to do instancing #3536

Answered by romainguy
jwwalker asked this question in Q&A
Discussion options

You must be logged in to vote

Yes that's currently the cheapest way to instance a mesh. We plan on adding true GPU instancing at some point but we don't have any ETA yet (there's a feature request already opened on the tracker for this).

A Renderable is actually a cheap object, all it is is a UBO containing the transform. All actual data comes from the vertex/index buffers which can be shared. Note that you don't necessarily need a new material instance either. You can use the same material instance on multiple renderables.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jwwalker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants