   VMS Problem !! help
  Hello everybody,in the picture above, you can see that the portions of the plane that are not seen from light view(when seeing from light view) are shaded in black. how can i remove this artifact?regards   
Quote:Original post by raminsiachHello everybody,in the picture above, you can see that the portions of the plane that are not seen from light view(when seeing from light view) are shaded in black. how can i remove this artifact?regardsI think you must write additional code to check the case when you're sampling from outside the shadow map.   ;  Your shadow map shouldn't light things by itself. As I can see, your light already light the scene (small noticeable light circle under the light). The shadowed parts of the shadow map should only influence on this light, and not actually light everything inside the shadow map.Seems like you do this in two different shaders instead of combining them.Oh, and btw, this is a VSM (Variance Shadow Map), not a VMS (Variable Message Sign) as I'm currently working on :).[Edited by - Dunge on May 31, 2010 1:22:08 PM];  For most cases you'll want to ensure that the projection used for your shadow map rendering covers the entire on-screen area that could possibly be lit by that light source. For certain special cases where that isn't feasible, you can use a texture border color to ensure that areas outside the projection remain lit.   