Home Unity

[WIP] Line Of Sight

polycounter lvl 8
Offline / Send Message
Arac polycounter lvl 8
LOSjpg

I've started working on a 3D line of sight system for Unity, which could be used in top down style games.

It uses a technique very similar to (deferred) shadow mapping in addition to some custom post processing effects, shaders and scripts.

At the moment it works in both deferred and forward rendering, supports an unlimited amount of line of sight sources (technically atleast) and allows you to easily switch the image effect applied to the area outside of the line of sight.

Still need to add support for orthographic cameras and flesh out the demo scene a bit more.

Let me know what you think!

Replies

Sign In or Register to comment.