Mask ignored when rendering on RenderTexture (Firefox Linux)
See original GitHub issueI’ve added a masked sprite to a container, when I render it on screen the mask works correctly but when I try to render it on a RenderTexture the mask is ignored. Problem is, I tested it in some environments, here’s the list:
Windows 10 | Manjaro KDE | |
---|---|---|
Chrome | Ok | Ok |
Firefox | Ok | Bug |
I have no clue on the bug’s origin. I’ve created a simple playground, in the upper half you can see the pixi.js behaviour and in the lower half you can see the RenderTexture behaviour.
Expected Behavior
Current Behavior
Possible Solution
I don’t know of any, maybe using filters will bypass the bug but I haven’t checked.
Steps to Reproduce
Get linux + Firefox (I think?) and use this link below. https://www.pixiplayground.com/#/edit/iJ6CBxiP5PGlzGXt7zi1s
Environment
pixi.js
version: 5.3.3- Browser & Version: Firefox 79.0
- OS & Version: 5.4.57-1-MANJARO + KDE Plasma 5.12.4
- Running Example: https://www.pixiplayground.com/#/edit/iJ6CBxiP5PGlzGXt7zi1s
Issue Analytics
- State:
- Created 3 years ago
- Comments:28 (9 by maintainers)
Top Results From Across the Web
Mask ignored when rendering on RenderTexture (Firefox Linux)
It seems like the bug only shows up on the first time that the scene is drawn to the RenderTexture, so drawing a...
Read more >Firefox (linux) not rendering anything - Mozilla Support
The firefox installation on my desktop is not able to render anything. Even the about:preferences window is not able to show anything both ......
Read more >Unity Camear.Render() UI Mask invalid
If renderTexture has image with ui mask, the mask effect on png invalid game show: camera.Render show: Here is my camer render code:....
Read more >WebGPU - W3C
WebGPU exposes an API for performing operations, such as rendering and computation, ... needs fewer than 4 channels, the additional channels are ignored....
Read more >Targeted In-Game Style Transfer Tutorial for Unity - Intel
Set Style Depth Culling Mask ... You can ignore these. ... Lastly, release the temporary RenderTexture for the copy of the current frame....
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
Ubuntu 20.04 with both:
@dev7355608 confirmed on on my Ubuntu 20 (Firefox 86)