added renderPass, used fixed 1024 scaling instead of screen one (prevents screen-dependent rendering)