Jump to content

WebGL2: Fastest way to render 10 million sprites?


frollpin
 Share

Recommended Posts

I was wondering what would be the fastest way to render 10 millions similar sprites (let's say a blue filled circle with 5 pixel radius), given that the screen coordinates are stored in two UInt16Arrays x and y. I was told that WebGL2's instanced drawing is exactly what I need, however, being a novice with WebGL, I'm a bit lost. Does three.js provide an API for me to do it, or should I go deeper in the technology stack?

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...