sonix666 said:Nice demo, but my feeling is that it softens the shadows too much at the start of a shadow. There it should be sharp and becomes more soft the further it gets away from the start.
True. I'm cheating a little. I only blur with regards to distance from light. It works fairly well, but I should really blur according to distance(fragment, occluder) / dist(occluder, light), but that would require another pass to apply a dilate filter on the depth values alternatively additional geometry in another pass.