How do I map a image/texture to a platform or cube?

I have had a few attempts at this myself with no such luck, please can you advise me how to do this properly? I am a beginner at this so am struggling a lot with this.

In the attached images, the first two the problem I have is that it applies to the sides of a cube or platform as such, but not the bottom or top, it just stretches the texture, I thought using the landscape class this would solve that problem but I could not see a setting in there for that.

I did my texture as a power of 2 starting with 2000 x 2000 going all the way down to about 512 x 512 still this did not solve the problem.

Am I missing a setting somewhere, am I setting this up all wrong? Anyway I have started from the beginning again as in the third image, question is where do I go from here, how do I apply a texture perfectly to a surface without it becoming stretched?

Ok if I’m correct just plugging the texture straight in is a much better idea. Now, I don’t know how big that cube is…so the texture may need tiled up or down.
So just plug a texture coordinate node into the UV input of the texture and adjust. :slight_smile: as long as the cube was unwrapped correctly it should work.

Which cube mesh are you using?

I ended up following this and got it working: Import a texture into Unreal Engine 4 - YouTube

Actually still can’t get it working when I do a bigger shape, I try and do what you said plug a texture coordinate node into the UV input of the texture, now I can’t figure out how to change the coordinates or settings of the actual texture.

If you plug in the texture coordinate you change it in that node. Select the nod and got the bottom left panel. There will be 2 values both set to 1. Play with those.

PTV Unreal Engine 4 Material Tutorial 5 (UV Mapping) - YouTube.
This video should help.

Many thanks. works perfect now!