Jump to content

Sprite manager and draw calls


Seba
 Share

Recommended Posts

Hello there,

I trying to reduce the draw calls in my project and in my in investigation I noticed that a sprite manager is taking 2 draw calls even if we have no sprite in its sprite list.

So just adding this line will cost you 2 draw calls :

var spriteManager = new BABYLON.SpriteManager("spm", "fakeurl", 1, 10, scene);

Is it a bug or there is a reason for this behavior ?

If no reason is possible to fix it in the next Babylon version ?

Cheers.

Link to comment
Share on other sites

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...