[Solved] Problem with textured materail scaled to fit an image

Hi. To cut the long story short, I’m trying to display an image on a plane geometry mesh that is programmatically scaled to fit an image of any dimensions. However, when I attempt to provide MeshBasicMaterial with any texture (be it JPEG or PNG), it simply turns black and I can’t seem to find the problem.

Here’s plain JS reproduction: wild-wave-d4kf42 - CodeSandbox

Try start rendering when texture is loaded.
quad.material.map.needsUpdate=true;

1 Like

Thank you, I tried to set quad.material.needsUpdate = true before, but it didn’t do anything. I have failed to notice that I need to set that property on the texture map itself