How would I stretch out a PNG texture on a 3D object?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LikeTheRogue

I’ve attached a black outline PNG as a material to a MeshInstance, however it’s showing up tiled:

Is there any way to get this stretched out to cover the entirety of the object? I’ve found the “repeat” option and turned that off, but it only resulted in one instance of the texture in the corner.

The original 512x512 file:

:bust_in_silhouette: Reply From: wombatstampede

Normally, you would start up your 3D editor and correct the UV-Mapping. But in this case you’re probably using one of the pre-fabricated meshes (CubeMesh).

You can open the (Spatial)Material and change the scale of UV1. Probably to (0.33,0.33,0.33). But just try it out.