After I put all these into console variables file, it still doesn’t work. I found that the problem is VXGI doesn’t generate AO on my end. When I turned off SSAO and HBAO+, I got no AO at all. And when I used VXAO console command to switch it on, it still cancels GI pass without giving me AO result. I tried both 4.10.0 and 4.10.4 which is the latest version. So do I need to recompile the engine files or it is a glitch?
Edit:
After I started a whole new project, it actually worked. AO looks great and very stable. Finally, I realize that the problem is the distance field shadow. I am using it in my current project to get better far shadows. It works with XVGI properly. However, the only problem is VXAO. I don’t know why it constantly gives me wrong result.
I made my decision. I will stay with distance field shadow and HBAO+ because my project contains foliage far away from camera and AO is barely noticeable but poor quality of cascade shadow at long distance is extremely obvious. BTW, I am using LPV as well. LPV and VXGI can even work together, distance field technologies work with LPV as well. But I still want VXAO+LPV+Distance field shadow. Guess I have to wait new branch release.