Jump to content

Text.cacheAsBitmap=true cuts off the text


Recommended Posts

17 hours ago, Tymski said:

I didn't know that xD

PIXI.Text is just a canvas that we drew the text to using the normal canvas 2d text drawing APIs, then we use the canvas as a texture for drawing to the WebGL context. Cache as bitmap is useful for deep trees of objects that you want to condense to a single (unchanging) texture. For example, setting cacheAsBitmap on a single sprite (or Text object) will have no benefit.

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.

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.


  • Recently Browsing   0 members

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