Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishadtardalkar/FogOfWar
A plugin for Unity3D to add Fog of War to a game.
https://github.com/nishadtardalkar/FogOfWar
Last synced: 4 months ago
JSON representation
A plugin for Unity3D to add Fog of War to a game.
- Host: GitHub
- URL: https://github.com/nishadtardalkar/FogOfWar
- Owner: nishadtardalkar
- License: mit
- Created: 2018-12-25T04:33:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-25T02:32:40.000Z (almost 4 years ago)
- Last Synced: 2024-02-28T19:12:30.077Z (4 months ago)
- Language: ShaderLab
- Size: 1.13 MB
- Stars: 48
- Watchers: 6
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-unity3d - FogOfWar - A plugin for Unity3D to add Fog of War to a game. (Open Source Repositories / Gameplay)
README
# Fog of War
A plugin for Unity3D to add Fog of War to a game.
UPDATE 1.3 :
Added an option to keep the cleared area unfoged.
(Please test this and create an issue if you find any errors)
UPDATE 1.2 :
Added a feature for multiple targets to uncover fog.
UPDATE 1.1 :
Supports SRP, please check the scene in the unitypackage to see how to setup in HDRP. (Same case with your own SRP)[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/XFs8cucJ764/0.jpg)](https://www.youtube.com/watch?v=XFs8cucJ764)
Steps to use plugin
- Copy all contents of this repository in your Assets
- Add "Prefabs/Fog" to your scene
- Drag gameobject from scene that has to defog the area to "Center" slot in the added Fog object
- Add "Scripts/PreRenderCalls" to your rendering camera
- Drag "Fog" gameobject from scene to Fog slot in PreRenderCalls
- Play with settings to best suit your system budgets over quality
Enjoy...