How to do it...

Right before we start this recipe, I'd like to mention that I've created another texture for you, named T_DistantConcrete_D, which we'll be using in the following steps. The curious thing about this asset is that it's a baked texture from the original, more complex material we used in the Creating a Semi Procedural Material recipe. So, we are actually using two different things we learner in previous lessons—a baked texture and a semi-procedural asset. This is top-tier stuff!

With that said, let's start taking a look at how to achieve our goal of distance blending two textures:

  1. Create a new material, which I've called M_DistanceBasedConcrete, and apply it to the plane in the center of the level. This is the humble start of ...

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.