implement shadow mapping fs code.