Use a shader to visualize the field of view, project the camera's field of view onto the ground, and view the camera's field of view directly. This technology is widely used in RTS games, such as commando series and outlaw series
Support the built-in/URP/HDRP rendering pipeline, which requires the sending of URP and HDRP packages to aaa88517@163.com Request
The functions are as follows:
1. The camera's field of vision represents the human's field of vision and is projected onto the ground through the shader
2. The angle of the field of view can be dynamically adjusted, and the distance of the field of view can be dynamically adjusted. The angle and distance of the field of view are the field angle and far tangent plane of the field camera
3. The color of the field of view projected on the ground can be dynamically adjusted and can be configured as two colors or one color
4. The field of view can be configured to display stripes, and the width and color of stripes can be dynamically adjusted
5. The transparency of field projection can be dynamically adjusted
6. Visual field height controls camera height and supports any complex terrain