How to do it...

In this recipe, we are not only going to be looking at materials and textures, but also at Blueprints! If you are using Unreal, you are bound to come into contact with them – they are basically the Visual Scripting language that Unreal uses, a helpful way for artists to create functionality without the need to learn how to program. We will be creating a very simple Blueprint to help us bake a material, so let's start with that:

  1. Create a Blueprint anywhere in the Content Browser. I'm creating mine in the same folder where all of the assets for this Chapter live, inside Content | UE4ShadersAndEffects | Assets | Chapter03 | MaterialBaking. I've named mine BP_MaterialBaker:
  1. Apart from the Blueprint, we'll also need a Render ...

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.