View Full Version : Shadow Volume Bugs
02-10-2003, 02:03 PM
My stencil shadows almost work, but I sometimes see entire faces of the shadow volume. I think it happens when the light direction and/or look vector are in the same plane as a face. Has anyone else encountered this?
02-11-2003, 02:00 AM
Are you sure that your model is closed and your silhouette finding algorithm is foolproof? Other than that I don't know what could be wrong. A picture might help.
02-11-2003, 08:43 AM
I found my problem. I was using my look vector and face normal to classify faces as front/back. I haven't changed it yet, but I bet that was the problem.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.