Table of Contents

Fog Appearance


The Fog Appearance (set on Fog Of War World) controls how unexplored areas are rendered. Several render styles are available, each with its own options.

You can change the appearance at runtime with SetFowAppearance.

Solid Color

The basic render mode. Unexplored areas are filled with a flat color.

  • Fog Color (RGB) sets the color.
  • Fog Color (Alpha) controls fog opacity.

Grayscale

Turns unexplored areas of your scene black and white, leaving explored areas in full color.

  • Saturation Strength controls how strongly color is removed.
  • The Fog Color acts as a color pre-multiplier over the grayscaled result.

Blur

Blurs the unexplored parts of your scene.

  • Blur Strength controls the blur intensity.
  • Blur Distance (Min/Max) set the screen-space blur offset range.
  • Blur Samples controls quality (more samples = smoother, more expensive).
  • The Fog Color acts as a color pre-multiplier.

Texture

Renders the fog using a supplied texture — great for a stylized "cloud" or "parchment" look.

  • Fog Texture is the texture to render.
  • Fog Color (RGB) applies a color filter to the texture.
  • Fog Color (Alpha) controls the texture's opacity.
  • Use Triplanar projects the texture using triplanar mapping (3D). Disable for a single-axis projection.
  • Fog Texture Tiling scales the texture.
  • Fog Scroll Speed animates the texture, for drifting clouds/mist.

Outline

Draws an outline at the boundary between explored and unexplored areas.

  • Outline Thickness controls the line thickness.

None

Disables the fog effect entirely (the camera image passes through untouched). Useful for toggling the effect off without removing the system.

Custom

Lets you drive the fog look with your own HLSL shader logic. Use this when none of the built-in appearances fit your art direction. See Custom Fog Shader for the full workflow.