Hi!
Up to now I have only been using dds, I am now trying to load some jpg and png textures to test something, but I have had mixed luck with stb
All I do to load is
stbi_load(path, &w, &h, &c, STBI_rgb_alpha);
Now some textures load ok,
some load with a strange stripey pattern
Stripey pattern that is not visible in the source image.
I tried STBI_rgb for the one that loaded strangely, but the result is even more wrong in most cases, like I would expect actually...
What am I doing wrong? The texture resource is created in all cases with DXGI_FORMAT_R8G8B8A8_UNORM
thanks
Jacques