Changes in rendering pipeline to better support shadow mapping