3
\$\begingroup\$

How can I spread my texture evenly across a cylinder in Unreal Engine 4?

Specifically, in the image below, I would like have texture on cylinder (on the left) match the one on the box (on the right). I need a many sides because I want the cylinder to be very smooth.

Image

\$\endgroup\$
  • 1
    \$\begingroup\$ Did you make any changes beyond the scale in the cylinder? Is it Unreal's own, or did you import it from Blender/Maya...? \$\endgroup\$ – Boneco Sinforoso Jul 21 at 21:29
  • 1
    \$\begingroup\$ You need to search for Triplanar material \$\endgroup\$ – ColdSteel Jul 21 at 23:49
  • \$\begingroup\$ It's unreal own. Just cylinder with many sides and put random texture on it. \$\endgroup\$ – Pete Zíťák Jul 23 at 16:56
0
\$\begingroup\$

generally the texture needs to match the UV you created for it, but if you have a generic object (which looks like is your case) the best bet is to use triplanar material projection, in short is a 3d mapping of a texture, rather than a 2d mapping.

here few links

https://external-preview.redd.it/Llj2OT_QDUjam24PDd0pBauqBDUym4acCiqwRcnPsJI.gif?format=mp4&s=e282639bae4fb0ca5808c819436863bcef83ac99

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/7147-tutorial-triplanar-material

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.