Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3981

RenderTexture is not working in canvas base in V4 version

$
0
0

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

 


Viewing all articles
Browse latest Browse all 3981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>