Post

Replies

Boosts

Views

Activity

Comment on Cannot Load Texture with MTKTextureLoader
Yes. I can definitely confirm. If your png has only black or white (plus alpha), it will not load into the textureLoader. I tried messing with using indexed png versus 32-bit png. It doesn't seem to make a difference. I tried with different options to the textureLoader -- no difference. But add even one colored pixel, the image will load. So for now, that is my work-around!
Dec ’22