question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RenderTexture/Graphics.beginTextureFill border artifact

See original GitHub issue

Expected 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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
GeorgyDolganovcommented, Mar 25, 2021

Does not work with all the solutions that I was able to find on the web. Really waiting for this problem to be solved

0reactions
TheBorgelcommented, Mar 3, 2022

Is there a way to remove the stale label without leaving another comment?

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found