   [solved] VSM problem with texture (probably)
  I've got problem with my VSM implementation. It works but with strange behavior. My shadow map works correctly only when camera is away from mapped area. When i get closer it disappear or got some artifacts.I am using FBO with GL_RGB16F_ARB texture formatsteps:-render form light position using shader (moments in RG) and store to FBO-render quad with texture from FBO using shader for blur- matrix stuff Ok - works with standard shadows also works here so matrix is OK//so far everything works fine I think, when I display this texture it goes from red to yellow and is blurred finein shader I used chebyshev but I got some crazy stuff[solved]//Shadow behaves really strangely. Depending on shadow resolution it goes more or less wrong. //Using 512x512 I got bad projection earlier than using 1024x1024 so I thing there should be problem somewhere in format (it is also strange because position of camera should not affect shadows but here it does).(now solved - some problems with blur shader)[solved]//i still have problems with texture sometimes didn't show up so i only got black shadow or garbage//(I forget to write that if I bind standard texture from file used for some object at scene it always works correct - I used texture projection on surface)Maybe I am wrong so I need to know where should be problem.I am running app on leopard OSX using gf8800 here are pictures (this main problem is already solved)thanksall problems solved: buggy leopard driver... problems with mipmaps :([Edited by - SaTANO on May 27, 2010 12:40:23 PM]