SFML community forums

Help => Graphics => Topic started by: dshenoy on October 03, 2023, 04:05:26 am

Title: Particle System with Textures
Post by: dshenoy on October 03, 2023, 04:05:26 am
Dear Community,

I can see from this example https://www.sfml-dev.org/tutorials/2.6/graphics-vertex-array.php that you can create an array of vertices that will take advantage of the GPU or essentially process the items efficiently.  Is there a way to enter in an array of textures?  (i.e. images)

Best regards
Title: Re: Particle System with Textures
Post by: eXpl0it3r on October 03, 2023, 09:08:53 pm
No, there isn't.
It's instead recommended to use a texture atlas, meaning you combine all the wanted texture into one large texture