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?
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.
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.