shadow mapping function updated