Atmospheric fog intersecting world

Maybe make a sphere to put inside your sphere with a material for the fog? and add some depth fade (Depth Material Expressions in Unreal Engine | Unreal Engine 5.3 Documentation) so there’s no visible sharp lines if it has to intersect something. Also migth want to add PixelDepth that can fade out the fog when you get closer.