- Home /
UI vs Sprites
I have a situation where I have to get 1000s of images from a local directory to a game as assets. I have tried using raw images for that. It works but some shaders are facing problems running on raw images. Also I think that using raw images might cause limitations in the future as well. Is my assumption correct?
I also tried using sprites for it, but converting textures to sprites at runtime using Sprite.Create takes a very long time which isn't acceptable. I can't find any other approach on the web, so can anyone recommend a proper approach for this problem?
I am also facing the same issue with large images. Sprite creation is taking lot of time. Is there any way to reduce this time?? Shaders with raw images are not working properly. Please help.
I am facing this issue with all the versions. $$anonymous$$ also looking for some speedy way to create it. I can go with UI if there is some way to implement shaders with it.
i imagine that even if you have 1000 images you dont need to instantiate them all at once and you can do it a little by little, it using threads or coroutines, maybe using quads and adding texture to materials? thaat should be faster but i imagine will have performance drawback