How to do it...

The first thing we'll do in this recipe is going to be taking a look at the map we have in front of us, which will help us understand what we are trying to achieve—plus which elements you'll need to have if you want to use your own textures and assets. Let's take a look at the scene:

As you can see, we have a basic block, which we'll use as a house of sorts—our goal will be to have some windows in its walls and show what's inside without actually creating any more geometry. If you want to bring your own models, something like a building without an interior would work great. Let's start working on the material that will allow ...

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.