Ulta Dynamic Sky in Thermal Vision

I need help, I am creating thermal vision for my project. I have such scene(img1). I have created such post process material(img2) and unfortunately it doesnt work correctly with ultra dynamic sky especially clouds(I want to have them visible in my scene) and now I have(img3) but here I added the wall behind my object. If it will be only sky on the background I will have just white screen. Can somebody help me with settings of the post process material or ultra dynamic sky settings?


Try adding a scene depth sample, divide it by 2000 or something, saturate it, then use that to lerp between the thermal vision and black or whatever the background should be.