Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filters are unstable #484

Open
devblazer opened this issue Jan 7, 2025 · 3 comments
Open

Filters are unstable #484

devblazer opened this issue Jan 7, 2025 · 3 comments

Comments

@devblazer
Copy link

I have an issue where I use various filters on different sprites and text (like glow and drop shadow), and on occasion, those sprites or text simply vanish. I have tried everything to get them to show again when this happens, including:

Recreating the filters applied to them
Destroying and recreating the element
Confirming all settings, including position, scale, alpha, size, textValue, ect.
Calling internal update functions like updateBounds
and a few other rather extreme things.
I have confirmed by using the browser pixi extension, that these elements are still there, just not rendering at all.

The only thing that gets these elements to show up again is to remove their filters entirely, then they show up immediately. Assigning a new filter instance to them doesn't work either. However assigning another filter instance that was created before it 'broke' does work! (sometimes)

Does anybody know why this is happening (chat gpt claims something about the rendering pipeline bugging out, I am inclined to believe it since gpt was the one that pointed me in the direction of looking at the filters as the source of the problem in the first place, and it turned out to be at least partially correct).
Otherwise, does anybody know how to fix it, or even how to detect when it happens (other than seeing the result visually)?

@mehmetron
Copy link

Hey @devblazer, can you create an online demo in the pixijs playground?

@bigtimebuddy
Copy link
Member

@GoodBoyDigital does this sound related to the texture pooling bug you were looking at?

@devblazer
Copy link
Author

Hey @devblazer, can you create an online demo in the pixijs playground?

Unfortunately I dont have a reasonable way of showing a minimal reproduction. As it seems the more filters you use in the more places, the more likely you are to get the bug, but it is rather intermittent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants