Archived

This topic is now archived and is closed to further replies.

aquaman

soft shadow z-fighting

Recommended Posts

I am trying to implement soft shadows and in order to not have the overlapping shadows interfere and render patchy I have to use glPixelOffset each time I draw a new shadow and with larger values for the offset. I have read that if depth testing is disabled then you don''t need to do this. However if I disable depth testing my shadows either render elevated off the floor or render in patchy waves. Does anyone have any ideas?

Share this post


Link to post
Share on other sites