Fix Texture Seam in UE5 Material

Fix Texture Seam in UE5 Material | Download Files

Download – https://www.patreon.com/posts/69421099
Patreon- https://www.patreon.com/Ashif
NFT – https://opensea.io/CGHOW
Twitter – https://twitter.com/cghow_
👉👉 If you Liked it – http://bit.ly/2UZmiZ4
Channel Ashif – http://bit.ly/3aYaniw
Support me on – paypal.me/9953280644
Fix Texture Seam in UE5 Material | Download Files

#cghow #UE5 #UE4Niagara #gamefx #ue5niagara #ue4vfx #niagara #unrealengineniagara #realtimevfx

â—ŹVisit – https://cghow.com/
Unreal Engine Marketplace – https://bit.ly/3aojvAa
Artstation Store – https://www.artstation.com/ashif/store
Gumroad – https://cghow.gumroad.com/

Video Title: Fixing Texture Tiling Issues with Custom UV Coordinates in Unreal Engine

Introduction:
Hi guys, I’m Asif Ali, and you’re watching CGHOW. In this video, we’ll go through a basic yet essential trick to fix texture tiling issues in Unreal Engine. We’ll focus on how to solve seams that appear when tiling a texture on specific meshes, especially circular ones. Let’s dive into how we can fix this issue and get a cleaner, seamless texture output.

Scene Setup:

  • On the left, we have a scene with visible seams, and on the right, no seams due to using a custom tiling solution.
  • I’ll walk you through the steps of fixing this issue using texture coordinates.

The Problem:

  • Both sides of the scene appear the same with identical meshes and settings, but there’s a noticeable seam when using certain tiling values like 1.5.
  • When the texture is tiled across a flat plane or box, it looks fine, but when applied to a mesh like a disk, the texture starts to repeat incorrectly, causing a seam.

Solution Steps:

  1. Create a New Folder and Material:
    • Let’s start by creating a new folder to keep things organized.
    • We’ll create a new material and add a texture coordinate node, then apply any tileable texture (I’m using this Aura texture).
  2. Tileable Textures on Different Meshes:
    • Tileable textures usually work fine on flat surfaces or boxes (e.g., 1.5 x 1.5), but on a cylindrical or disk-shaped mesh, issues arise. The UVs of the disk shape are straightforward, but problems occur when tiling the texture.
  3. Understanding the Tiling Issue:
    • When the texture is applied to a disk mesh, the seams show at certain tiling values. For example, a tiling value of 1.5 leads to a half-tiled texture at the seam.
  4. Fixing the Issue:
    • The key trick is to modify the texture coordinates.
    • We’ll subtract 0.5 from the X-axis, which shifts the coordinates, so the tiling starts from the center.
    • By doing this, we get a mirrored effect, ensuring there are no seams where the texture transitions.
    • Using abs will ensure that any negative values are converted into positive ones, making sure the tiling is seamless from the center outward.
  5. Final Material Setup:
    • Apply the customized texture coordinates to the material using the Lerp node.
    • The Lerp node will blend between the standard texture coordinates and the adjusted ones to handle the tiling properly.
    • Use the tiling parameter to control the final texture repetition.
    • The result: no seams, just a clean, mirrored tiling effect that works across different mesh shapes.

Conclusion:

  • This simple yet effective trick fixes texture tiling on cylindrical and other non-flat meshes. The key is adjusting the texture coordinates and using a mirroring approach.
  • I’ll also provide the full material setup in the description below so you can replicate this trick.
  • Thanks for watching, keep learning, and don’t forget to subscribe for more Unreal Engine tips and tricks!

Discover more from CGHOW | Ashif Ali

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from CGHOW | Ashif Ali

Subscribe now to keep reading and get access to the full archive.

Continue reading