Fog in VFX Materials

Overview

Currently standard TrueSky Fog in standard Translucent Materials don’t match well to Fog on Opaque objects and Ocean in the scene at varying distances and lighting, and you get better visual results disabling the standard Fog and using a Custom Fog function.

Implementation

To get best Fogging results for Translucent Materials you need to disable the standard Material Fogging :

  • Uncheck “Use Translucency Vertex Fog”
  • Uncheck “Used with True Sky Scatter”

Then add the ARK-trueSKY_Fog Function and hook up the BaseColor and Emissive Color Inputs and Outputs as shown here:

../../_images/VFX_FogMaterial2.png