How to do it...

Here is an screenshot that highlights what we'll be doing in the following pages:

We are going to take a simple material and enhance it thanks to some of Unreal's material nodes, which will help us—with very little effort on our side—to improve its final appearance. First of all, open the level 03_04_AdvancedTechniques_Start and open the material that is being applied to the tablecloth, named M_TableCloth_Start, as we are going to be working on that one. As you can see, it only has a single Texture Sample applied, being driven by a Texture Coordinate node that is adjusting the tiling of the asset:

  1. Create a Constant3 vector ...

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.