RenderTexture/Graphics.beginTextureFill border artifact
See original GitHub issueExpected Behavior
PIXI.Graphics using beginTextureFill should not modify the supplied texture.
Current Behavior
Using said function will result in a single line of pixels being overwritten in the original texture from the opposite side of the texture. It appears that the texture is rendered to using repeat wrapmode with a single pixel offset.
Possible Solution
Switching the wrap mode to clamp or mirror in the line below would hide the issue, but i dont think it would fix it. GraphicsGeometry - buildDrawCalls - line 728: nextTexture.wrapMode = 10497;
Steps to Reproduce
The original conversation on the subject: https://www.html5gamedevs.com/topic/46368-rendertexture-border-aftifact/ The fiddle reproducing the effect: https://jsfiddle.net/ngutc5ob/
Environment
pixi.js
version: 5.3.3- Browser & Version: Version 86.0.4240.111
- OS & Version: Windows 10
- Running Example: https://jsfiddle.net/ngutc5ob/
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
RenderTexture/Graphics.beginTextureFill border artifact #6977
Using said function will result in a single line of pixels being overwritten in the original texture from the opposite side of the...
Read more >Border artefact in GLSL pixelate shader - Stack Overflow
Everything is working as expected except for this border artifact that I see at pixelation borders. The code is:
Read more >Untitled
RenderTexture/Graphics.beginTextureFill border artifact · Issue #6977 · pixijs/pixijs · GitHub New issue RenderTexture/Graphics.beginTextureFill border ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Does not work with all the solutions that I was able to find on the web. Really waiting for this problem to be solved
Is there a way to remove the stale label without leaving another comment?