Comments (7)
heya, i set up this playground to apply the masks
https://www.pixiplayground.com/#/edit/EwmDuvFCs8id9JvOC4Y5b
it seems to be working ok for me in chrome? @HughEdwards1 could you verify pls? Cheers man!
from pixijs.
Hey @GoodBoyDigital
Thanks so much for having a look.
I can confirm that the playground you've made there also has the issue for me.
However I've since made a horrific discovery.
I'm hosting the initial project I encountered this issue with on the first machine, and accessing it over a local network on another mac - with similar specs. It's an OSX 11.6.4 M1... and it's rendering perfectly fine. On the same chrome version.
I'm not really sure what this says for me. Hardware issue? OS gl issue?
I'm going to restart this machine and hope that when it opens back up everything works again.
from pixijs.
...Restart unsurprisingly did not help.
Not sure where that puts this ticket.
Pain in the ass to replicate I imagine.
I'm going to update my OS on the initial machine (OSX 12.4) and see if that brings and joy.
Edit: No love after software update, still busted
from pixijs.
hey, could you try using 8.1.0? or setting the renderer to WebGL pls? I think it maaaaay be a WebGPU issue
from pixijs.
WebGL sorts the issue. At the cost of a lot of lovely performance which I've come to expect : (
from pixijs.
You know, i think there is a legit WebGPU bug somewhere in here - similar issue here #10406
Connection affecting GPU textures...
Can i ask - whats the performance difference for you? WebGL should be similar speeds? Thanks!
from pixijs.
You know, i think there is a legit WebGPU bug somewhere in here - similar issue here #10406 Connection affecting GPU textures...
Can i ask - whats the performance difference for you? WebGL should be similar speeds? Thanks!
I measured it (my actual full scale project) in a few different test cases:
Resolution 2x (webgl & webgpu) which is how it was initially set.
Then again with 1x resolution.
Then again for both resolutions after removing the alpha masks (welcome back to the original pain) because I noticed even a single large sprite was having a significant performance hit (app is 4K reso.. so at 2x reso I think the textures were just pushing some boundaries)
In almost every case the webgpu version was about twice as fast to render a frame
Edit: Within all of this - I've tried on a few different machines, on the mac though things aren't as sharp on 1x.. possibly to do with retina screens? Maybe something else for me to explore
from pixijs.
Related Issues (20)
- V8 Bug! HOT 2
- Bug: Pixi 7 errors: Argument of type '...' is not assignable to parameter of type 'DisplayObject' HOT 9
- Bug: Remove filter again (container.filters = null) throws error
- Bug: getLocalBounds doesn't return correct values after removing a child
- Bug: Pixi 8 - WebGL: INVALID_ENUM: activeTexture: texture unit out of range
- Bug: GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size HOT 1
- Feature request: Drag events
- Bug: Can't `await` `Application.init` from top level if bundled using vite HOT 2
- Feature Request: Is it possible to split a texture after exceeding the maximum texture size? HOT 1
- Bug: V8 graphics tint applied in a weird way HOT 3
- Bug: V8 MSDF text rendering quality
- Bug: npm run build: error TS2503: Cannot find namespace 'PixiMixins'
- Bug: Error: Unable to auto-detect a suitable renderer.
- Bug: too many active WebGL contexts on this page Safari HOT 1
- Bug: use round cap,blendmode not work
- Perfromance: CPU100% in OpenGL mode on a big map when computer does not have GPU even the graph is static HOT 2
- Bug: Error occurs when uninstalling a bitmap font with characters containing a space
- Bug: When Application is proxied by Vue 3(ref), an error occurs when rendering graphics
- Bug: about PIXI.Assets:imageResource can not loaded as canvasSource in ios v14.5,perhaps some old ios version
- Feature-Request: V8 support sub-Textures when creating BitmapFont objects HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixijs.