Shadow Mapping - Self-Shadowing Z-Fighting Artifacts

Posts: 268
Joined: 2005.04
Post: #16
Got sidetracked by normal mapping and lighting bugs...

I managed to get the artifacts down to a reasonable level. I was overthinking the artifacts on the back side of models. Those of course shouldn't ever be seen since the diffuse will be dark/black for those polygons anyway. I tried arekkusu's Shader Builder test, and it turns out the X1900 doesn't do hardware PCF (or I don't have it setup right). So I added the PCF sampling into the shader and that got rid of 99% of the artifacts that were still bugging me. I'm just not bothering with glPolygonOffset for now. I just can't find good numbers that don't cause more problems than they solve.
Quote this message in a reply
Posts: 1,234
Joined: 2002.10
Post: #17
Correct, X1900 does not support PCF.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  2d shadow blending problems tesil 1 7,984 Mar 17, 2011 10:12 AM
Last Post: Skorche
  iPhone 3GS Shadowing Bug Bersaelor 6 15,003 Dec 28, 2010 04:08 PM
Last Post: jarodl
  OpenGL ES 2.0, 2D Alpha Transparency Artifacts Macmenace 3 11,338 Mar 28, 2010 11:18 PM
Last Post: AnotherJake
  Shadowing bug TomorrowPlusX 6 8,529 Feb 1, 2010 12:00 PM
Last Post: DoG
  Replacing edges with degenerate quads (for shadow volumes) Coyote 9 13,965 Jan 15, 2010 07:08 PM
Last Post: Coyote