I managed convert opengl code on http://john-chapman-graphics.blogspot.co.uk/2013/02/pseudo-lens-flare.html to hlsl, but unfortunately I don't know how to add it to my atmospheric scattering code (Sky - first image). Can anyone help me?
I tried to bind the sky texture as SRV and implement lens flare code in pixel shader, I don't know how to separate them (second image)