How to do it...

Before we can modify the UVs of a material, we need to create a material to use. Let's get started:

  1. Create a material and give it a name of M_CustomizedUVs. Double-click on it to enter the Material Editor.
  2. From the editor, create a texture sample by holding down the T key and then clicking to the left of the M_CustomizedUVs result node. Connect the top pin to the Base Color pen.
  1. Then, with the Texture Sample node selected, go to the Details tab and set the Texture property to something that you can easily tell the edges of. I used the UE4_Logo texture:

  1. Afterwards, deselect the node by clicking elsewhere on the screen. ...

Get Unreal Engine 4 Shaders and Effects Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.