Added render direction.