implementing multiple render pass