   VSM clear color artifacts
  Hi!I am finishing to develop VSM (Variance Shadow Maps), and right now I am stuck with a problem that I think is related with the clear color of the variance shadow map. AFAIK I have to clear it using [1.0, 1.0] what just means "distant geometry" ([depth, depth^2]). However I am getting this artifact whenever the shadow is near to the border of the geometry from the light point of view (in other words, when it's near to the cleared [1,1] background).This is a close up of a shadow that shows this artifact: Some advice to correct this? My code is based on the chapter of GPU Gems 3.Thx in advance![Edited by - IrYoKu1 on May 8, 2009 4:38:01 AM]