Pixel-Perfect Fog Of War (v2.0.4)

0
(0)

Pixel-Perfect Fog Of War is a line of sight tool that can project a field of view from any number of objects, and hide objects within un-seen parts of your scene.

Technical details

This package has many advantages over the competition:

  • No extra camera necessary
  • Compatible with all shaders. This tool using Image effects for the built-in render pipeline, render features for URP, and the Volume framework for HDRP.
  • No render textures necessary. line of sight data is calculated per-pixel on the GPU.

This package comes with several types of Fog Of War (see screenshots for visuals)

  • No Bleed – cuts off vision without adding an arc to segments
  • No Bleed Soft – same as no bleed but with blurred edges
  • Hard – adds arcs to the ends of each segment to round out vision
  • Soft – adds arcs and blurs the edges of vision

This package utilizes the Burst Compiler and C# jobs system. You must have these packages installed for the system to work out of the box. If you cannot use these for whatever reason, contact me for a resolution.

2 demo scenes are included with this package.

Compatible Graphics APIs:

  • DX11
  • DX12
  • Vulkan
  • OpenGL
  • OpenGL ES 2.x
  • OpenGL ES 3.x
  • Metal

Incompatible Graphics APIs:

  • WebGL

LIMITATIONS:

  • While this package is for 3d scenes, the fog of war logic acts on a 2d, “top down” (or with the 1.3 update, the forward X/Y or Z/Y) perspective. this means that line of sight is based off the revealers height, and cannot see up or down. This is partially a design choice so that revealers taller than sight blockers can see over them completely.

Original_Link: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/pixel-perfect-fog-of-war-229484

Download Links:

Asset Version (v2.0.4)

Asset Version (v2.0.1)

Asset Version v1.6.6 (Update Aug 24, 2023)

Asset Version (v1.6.6)

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave a Reply