modify the bug for resizing and intergrate the SSAO and casting shadow to UI