Hello, I’m going to start of with saying sorry if this question is completely stupid but I don’t see the problem.
So I made a material that uses the texcoord to light only the edges of a cube. (See picture below)
http://s12.postimg.org/m5wegxnu5/Material.png
I’ve then made a material instance and edited the material and it looks fine in the editor. But the problem comes when I apply to my static meshes, depending on my UV-map the material gets either all black or is cut off for some reason. The picture I’m showing now is the best result I’ve managed to get, but it is far from good. (see picture below)
http://s3.postimg.org/7bj7wby4z/My_Cube_UV.png
I’ve also tried applying the material to the basic cube, then it works great! (se picture below)
http://s15.postimg.org/8xqhthdkr/Standard_Cube_UV.png
I have looked at their UV-Map which looks completely different from mine, and frankly I have no idea how they made it. So I was thinking i’d come here and ask if anyone know either how to make a correct UV-map which will work or if there is any other problem that I have not addressed.
Hint: I am not a graphical person, fancy technical graphics terms might confuse me.