texture's not displayed propely in- game/editor

hi,
i’m really new to using ue4, so maby this is a stupid queston but I have a problem with some with my texture’s…

for some reson it shows them propely in the materiaal edtior but not in-game (or in the level editor)…
already played around with texture coordinates, but seems to do nothing at the moment…
does someone maybe have a vlue why it is doing this?

thx already for reading and thinking! :wink:

Cannot tell for sure but most likely you mesh has not proper UVs. They are either too small or they are missing.

I think you right!

if tried to use a texture on the floor of the first persoon example map, and there it worked perfectly fine!

but now i don’t know how to generate a uv map for my meshes…
i have read the documentation from epic, have watch multiple tutorials but i don’t understand why its not working.

i tried to check the “generate lightmap uv” but it doe’tn seem work… :frowning:
do you maybe know how I can fix that? :slight_smile:

You cannot do that in unreal. It has to be done in the program where you created the mesh. Or if you just downloaded the mesh from somewhere else you have to export it and open it in a 3d modelling software (3ds max, Blender, Cinema 4D or whatever) and make the UVs there. If you cannot do that maybe the last option is to use the “World aligned texture” node in your material. That would work to show the texture with some simple cube mapping but anyway you will never be able to bake the light without proper UVs on the mesh.

If slightly messed up texture mapping is OK for you you can use this trick: Auto generate lightmap UV’s but in material change UV channel to the one you generated lightmap UV’s on. you will see your texture mapped on object but it will be far from perfect. Other option you can use is to setup world space aligned material and use that as that way you do not need to have unwrapped mesh and you can use it without UV’s.

oh of course!
srry. how stupid of me… xD
now I’ve watchst a blender tutorial. i completly understands whats going on…
thx for helping me! ;D

and also good to know about the world space aligned material, then i have a backup for if i screw up ;p
thx a lot! :slight_smile: