Swap skybox texture with another (by url)

Hi everyone!
I’ve been puzzling over swapping skybox textures (loading via png array from a URL).
The odd thing is that my 2nd texture never loads (i’m using just one image for all faces of the skybox just to keep it simple at the moment). Whichever texture is loaded first is loaded again. The 2nd PNG never loads. Any ideas?

Got it!
Needed to get and delete the texture. Ah and think i just understood why. If i put my textures in separate directories, instead of the same directory, i’m guessing it would have worked, since skybox png array assumes all the pngs are all in a single (distinct) directory.

1 Like