Computing light contribution using shadow map