I am using the shadow mapping example provided by Egon (Thanks again!) . I experimented a little
and then tried to update light position and direction in real time. But somehow I was not able to see any changes in the shadowmap blit and the scene too ,when I changed the position and direction of light(I am using directional light present in Thomas' sampls ) .
and then tried to update light position and direction in real time. But somehow I was not able to see any changes in the shadowmap blit and the scene too ,when I changed the position and direction of light(I am using directional light present in Thomas' sampls ) .