/unity-urp-vr-lens-flare

☀️ Unity URP implementation of Lens Flare optimized for mobile VR.

Primary LanguageC#MIT LicenseMIT

VR Lens Flare

Unity URP implementation of Lens Flare optimized for mobile VR.

This pack allows you to use an optimized version of Lens Flares in mobile VR (URP only).

How to use

  1. Add VR Lens Flare Render Feature to your URP Renderer.

How to add URP VR Lens Flare renderer feature

  1. Attach the Lens Flare (VR) component to your object or light source and add Lens Flare Data.

How to add VR Lens flare component to game object

Limitations

  • This version supports only image lens flares data.

  • This version doesn't work with camera occlusion. Instead, raycasts are used. You can configure the raycast mask in the your URP asset.

Screenshots

VR Lens Flare Screenshot 1

VR Lens Flare Screenshot 2