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

[inquiry] does Pixi particles use instanced rendering? #197

Closed
LukeWood opened this issue Jun 12, 2023 · 3 comments
Closed

[inquiry] does Pixi particles use instanced rendering? #197

LukeWood opened this issue Jun 12, 2023 · 3 comments

Comments

@LukeWood
Copy link

Hello! I love Pixi particles. I make heavy use of it to produce beautiful graphics for a game I write.

Does Pixi particles use instanced rendering? If not, do you anticipate it to be possible to implement? I’m interested in taking a stab if you have a direction for me to try

@andrewstart
Copy link
Contributor

It does not use instanced rendering. I am pretty sure that instanced rendering is possible in PixiJS, as I believe @ivanpopelyshev has done so in one of his own projects but I have no idea how it was done. I assume that in the current version of Pixi you would need to create your own ObjectRenderer subclass.

@LukeWood
Copy link
Author

LukeWood commented Jun 13, 2023

This guy exists: https://api.pixijs.io/@pixi-essentials/instanced-renderer/InstancedRenderer.html

But I'm not sure how to use it. I'll do a little search for resources and maybe we can get it working with the particle system :)

@ivanpopelyshev if you have any guidance let me know!

@LukeWood
Copy link
Author

Under the hood pixi does all of this for us :)

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

2 participants