trying to implement shadowmap