# How to apply a material to a hollow cylinder?

**URL:** <https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868>\
**Category:** Rendering\
**Tags:** unreal-engine, UE5-0, Shaders, question\
**Created:** [May 12, 2022, 11:12pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868 "2022-05-12T23:12:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [May 12, 2022, 11:12pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/1 "2022-05-12T23:12:18Z")

</div>

I am trying to apply a material to a hollow cylinder in UE5.

When I apply materials to this cylinder using Blender or Substance Painter I have not this problem.

However when I try to apply any of the materials that I can find in the “StarterContent” folder the materials are not applied correctly.

 ![UnrealMaterials](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/2/372481d1de55926d1628c81986b20a5f6369efd6.png)

Here are some examples (grass, marble and water)

 ![grass](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/a/eaadf5ec5a7295bb4a57ee049519a4c239048641.jpeg)  
 ![marble](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/e/29edfb114c0e50b6403d6437c622e5b3e9fa1f26.png)  
 ![water](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/7/31711cf75683617522557e6c336303f179469015.png)  
Different materials and always the same problem.

These are the seams that my cylinder has. So I think it’s not a seam problem.

 ![seams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/7/9c7e7e87f50dc3cb6e0b193ee0db09fbd6709aee.jpeg)

How can I fix this problem?

Thank you so much!!

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [May 13, 2022, 12:11am UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/2 "2022-05-13T00:11:20Z")

</div>

Could you show us a picture of your UV map?

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [May 13, 2022, 1:11am UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/3 "2022-05-13T01:11:20Z")

</div>

Hi:

Yes, your suspicions were correct, that was the problem. For some reason it had a wrong UV map.

 ![OldBlenderUVMap](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/3/6035bd8373f39fb968aa82b216a4c365f5682327.png)

I’ve fixed it and now the texture looks much better.

 ![NewBlenderUVMap](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/e/4eee997834fcc438662db7c0aeb696c87ffa0319.png)

![TextureSeams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/2/2925841a50ebf2217cbdf8795ae1f58cb63d3c7b.png)

But now I really have a problem with the seams… ☹

Thank you very much for your help

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [May 13, 2022, 5:39am UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/4 "2022-05-13T05:39:11Z")

</div>

Now you would decide how to use the mesh:

1. Do you want the player/user to see the whole mesh?
2. Do you want the player/user to see only a part of the mesh?
3. Should you use a seamless texture?
4. Can you use a texture that covers the seam (e.g. wood)?

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [May 23, 2022, 7:12am UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/5 "2022-05-23T07:12:07Z")

</div>

I’m sorry for my late to answer you. I had some problems this last days and it was not possible to visit the forum.

**1-Do you want the player/user to see the whole mesh?**  
Yes, this was my main idea.

**2-Do you want the player/user to see only a part of the mesh?**  
This was my secondary idea (a desperate idea). I was thinking to hide the seam underground. But i prefer do not that if is possible.

**3.-Should you use a seamless texture?**  
I thing so. But unfortunately i tryed using severals methods i saw in tutorals and none works for me. Also i tried to looking for a method into the official documentation and i found nothing by the moment.

**4-Can you use a texture that covers the seam (e.g. wood)?**  
That Is not the idea, i would like to use a dynamic water texture for the entire cylinder if it is possibe because It really looks very cool. (I attach the material code below… It is a very simple version of water material).

Do you think it is possible to get a seamless effect modifing this material?

_I really want thank you so much for you help!! it is very appreciated!!_

-General View:

 ![1-Material (General view)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/c/d5c3707780dfed916b087c57777e1088e4ffd25e.png)

Red and Yellow Parts:

 ![2-Red And Yellow Parts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/5/d451101fa78481b47c2ba02dbc3e45837dd5da07.png)

Blue Part:

 ![3 - Blue Part](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/f/8cfba2cc4a521e94cf3d50e466701d9d92cb83fc.png)

Green Part:

 ![4 - Green Part](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/2/4323ffd4d49add81908f602bbc45a6f8d228ec2b.png)

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [May 23, 2022, 6:49pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/6 "2022-05-23T18:49:34Z")

</div>

Test this:  
[Cylinder.zip](https://forums.unrealengine.com/uploads/short-url/nKvkTGDoOdWVq2QXFGf5XYhU7ur.zip) (123.3 KB)

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [May 23, 2022, 8:39pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-material-to-a-hollow-cylinder/555868/7 "2022-05-23T20:39:21Z")

</div>

I love it!!

Thanks to the power of n , where n is a number extremely higher to infinite. 🙂

I’m really really very grateful. You rock!!
