PDA

View Full Version : geometric self-shadowing



Pentagram
08-12-2002, 12:24 AM
If you read the bump mapping documents they always include a geometric self-shadowing term (based the real surface normal instead of the perturbed one) My question is, do you need this when you use other shadowing techniques (like stencil shadows) sice the geometry shadows are already handeled by the stencil technique?

Charles

davepermen
08-12-2002, 12:29 AM
you don't, but as you can do a smoothstep, you can have a much nicer, smooth selfshadowing..