Restructured code to be able to not use RenderTextures