Required setup

Do not skip this page!

This plugin uses tracing and collision UV for finding where to write data to render target. So, in order for this plugin to work correctly it is very important to follow below steps exactly as it is mentioned.

New Collision channel

You must define a new collision channel specifically for use with Fog of war system. To create one, follow below steps:

  • Open Project Settings.

  • Under Engine, select Collision section.

  • Then under Object Channels category select New Object Channel...

  • Here you can name your new channel anything, but it is VERY IMPORTANT you set the Default Response to Ignore.

  • Press Accept.

In my case, I've named it FogOfWar.

Support UV From Hit Results

This plugin depends on finding collision UV from impact, so it is required to enable Support UV From Hit Results option from Project Settings -> Physics.

Once you have done these two steps, restart the Unreal Editor.

After restarting, open Project Settings -> Agora Fog Of War Settings and set Fog Collision to the newly created object channel you created before. In my case, I've called it FogOfWar so that's what I'd choose.

Once you have completed these steps, you are good to go!👍

Last updated