Glimmer
Some shader functionality is easily accessible using the standard nodes inside the UE4 Material Editor. You can come up with some neat speckled effects, such as the glittering gold shader we show you how to construct in the following recipe. The purpose of this recipe is to familiarize you with the Material Editor's base functions so that you can learn to construct your own material shaders.
Getting ready
Create an asset (such as a treasure chest) that you want to glow, or open the the source code package of Chapter11 to find the treasureChest.fbx model.
What we'll do is move a plane across the object of a certain thickness W. When the plane passes over the geometry, the emissive color channel is activated, and a glimmer effect is created ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access