Skip to content

Make a sphere particle system using raylib #2754

Answered by chriscamacho
wlxmhls asked this question in Q&A
Discussion options

You must be logged in to vote

how should they move? using what algorithm?

you could use a shader to do this, or simpler depth sorted billboards, using simple trig, have them at a set distance from the origin, and rotate on two axes, you can then mess with the two axis angles to have them move round the globe shape

here's an old blog post I did which will help you with billboards....

https://bedroomcoders.co.uk/raylib-billboards-advanced-use/

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@wlxmhls
Comment options

Answer selected by wlxmhls
Comment options

You must be logged in to vote
1 reply
@wlxmhls
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants