Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Particle System with Textures
Print
Pages: [
1
]
Author
Topic: Particle System with Textures (Read 1163 times)
0 Members and 1 Guest are viewing this topic.
dshenoy
Newbie
Posts: 3
Particle System with Textures
«
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
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Particle System with Textures
«
Reply #1 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
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Particle System with Textures