While playing Horizon Zero Dawn I got inspired by the lens flare they supported and decided to look into implementing some basic ones in Stingray. There were four types of flare I was particularly interested in. Anisomorphic flare Aperture diffraction (Starbursts) Camera ghosts due to Sun or Moon (High Quality - What this post will cover) Camera ghosts due to all other light sources (Low Quality -
![Physically Based Lens Flare](https://cdn-ak-scissors.b.st-hatena.com/image/square/460c16d5e5f7bf02c7eed0cf3226e0a48e6449e4/height=288;version=1;width=512/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEidjDZ0J8kkhP1NCBGy_4QbBTGS0LJsOBBOqO7_qAplg43mb4cyEqRF5PpcuB1i_rD0IPwkXMuPyAxeTIZFkjL75CLcwtRrIkW513s5hXsD8nzdJn6ct8psJ9BpheeesRxbZIfnxEeDTC-B%2Fw1200-h630-p-k-no-nu%2Fintro.jpg)