worked on rendering on different resolutions