First version of shadow mapping