Andrianov.Online Line of Sight package provides cone of vision for 3D and 2D games:
â— very easy to use
â— changable quality for better performance
â— very well documented code
â— tooltips for all parameters
â— textures and transparency support
â— demo scene included
Warning: line of sight is based on raytracing, usage of many instances can requre more hardware resources.