Search code examples
unity-game-enginerendergame-developmentpost-processing

Using a Lens Flare on HDRP in Unity3d



Is it possible to use Lens Flare on HDRP or LWRP?
I tried to use the old lens flares but their shaders didn't work on HDRP.


Solution

  • You can try using the HDRP Lens Flare from Unity's Fontainebleau Demo (It includes a cs file, materials, and shaders for it), available on their official Github:

    Fontainebleau Github

    Here at 52 seconds you can see it:

    https://youtu.be/hCeP_XUIB5U?t=52