you can’t. you must bake. as you said yourself, this needs to be raytraced and that’s going to be very expensive. it is only feasible for still shots LGL Raytracer - CodeSandbox
you might get away with some AO Ballpit - CodeSandbox but these are one trick pony smoke and mirror effects, and still on the expensive side. i think @gkjohnson once experimented with a GTAO (ground truth) variant, it looked amazing, but it wasn’t fast enough when i tried.