fixed input issues, fixed shader, fixed level-end