shadow mapping filtering and other changes