Jump to content

RenderTexture is not working in canvas base in V4 version


Recommended Posts

I did some code here


this._iconSprite = GameAsset.icons[id];
        this._iconSprite.x = (this.symbolWidth - this._iconSprite.width) / 2;
        this._iconSprite.y = (this.symbolHeight - this._iconSprite.height) / 2 - offset;
        this._renderer.render(this._iconSprite, this._renderTexture, true);


I update those code every frame. but the graphic is not clear, it always keep previous displayed graphics.

it looks like this bug https://github.com/pixijs/pixi.js/issues/1147


Can Somebody help me. thanks


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