Rakasch Posted September 29, 2016 Share Posted September 29, 2016 Hi there, I'm new to pixi, just started with a simple tutorial about building a parallax effect and directly ran into the first problem. Using the TilingSprite, the resulting image has a flickering line where the edges touch. The problem only occurs using the WebGl Renderer. Heres a Fiddle: https://jsfiddle.net/67rszmxb/1/ Here's a pic of how it looks on my screen: I used the current pixi-release, version 4.0.2 Did I miss something, or is it a bug ? Help is appreciated, thanks. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 29, 2016 Share Posted September 29, 2016 Yeah, its known issue. Mip-mapping is buggy for tilingSprite, try that one: farTexture = PIXI.Texture.fromImage(img); //switch it off! farTexture.baseTexture.mipmap=false; Quote Link to comment Share on other sites More sharing options...
Rakasch Posted September 29, 2016 Author Share Posted September 29, 2016 Thanks, that fixed it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.