How to do it...

Something we've had to do in some of the previous recipes was enable certain settings within the engine in order to turn on specific functionalities. We saw this when we were working with translucent materials, as we had to enable screen space reflections on those type of shaders since they weren't switched on by default. Something similar will happen next—as we are about to work with Planar Reflections, there is a certain Project Setting that we have to enable first:

  1. Open the Project Settings by heading over to Edit | Project Settings. Click on All Settings, and type clip on the Search box.
  2. Under Engine | Rendering | Lighting, you'll be able to see a certain parameter named Support global clip plane for Planar Reflections ...

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.