Trying to use the ANAMFLARE shader by Ganossa. However it does not seem to function.
I am wanting to add anamorphic lens flares to the scene without white objects recieving them; which the "FLARE_DEPTH_CHECK" setting seems to describe.
No matter what settings I apply, I cannot get them in my scene.
I have attached the settings below.
////-------------//
///**ANAMFLARE**///
//-------------////
#define USE_ANAMFLARE 1 //[Bloom] //-Anamorphic Lensflare: adds some horizontal light flare, simulating the use of an anamorphic lens while recording.
//>Anamorphic Lens Flare<\\
#define FLARE_DEPTH_CHECK 1 //[0:1] //-if 1, only pixels with depth = 1 get an anamflare, this prevents white objects from getting flare source which would normally happen in LDR
#define fFlareLuminance 0.97 //[0.000:1.000] //-bright pass luminance value
#define fFlareBlur 9999999.0 //[1.0:10000.0] //-manages the size of the flare
#define fFlareIntensity 1.27 //[0.20:5.00] //-effect intensity
#define fFlareTint float3(1.0, 0.137, 0.216) //[0.000:2.000] //-effect tint RGB
Any help to get this to work would be appreciated.