when r.VolumetricRenderTarget.Mode set to 2 ,cannot intersect with opaque meshes,why?
Mode 2 trace 1 pixel out of 4x4 at full resolution, the other 15 samples are reprojected. All that happen at final resolution so nothing can be done after that. It looks sharper than mode 0 but has lots of latency to it. So cloud would leak after reprojection over opaque meshes.
Mode 0 has a more complex pipeline: trace a resolution/4, reconstruct at resolution/2 then upsample on screen at full resolution. It technically does trace 1 pixel every 4x4 pixels but the more complex pipeline allow to trace up to a certain depth and keep that information for the reconstruction process. Looks less sharp, more half res. Potentially faster because it traced only up to a certain depth. This mode has quality improvements coming in for 5.2 (sharper depth edge reconstruction, less holes, less trails during reprojection).
Thank You,I have a problem that the sun(behind cloud) in the skybox will appear incorrectly when some mesh edge overlapping with it ,so it will be fixed in 5.2?
That is one of the thing that is improved yes. Not sure it will be flawless with a bright sun though, I should try this at some point.
this is my problem now,so hopefully it can be fixed in next version,thank you for replay
Yes this is improved in 5.2 (mesh occlusion above cloud and edges over occluding meshes).