I am building a scene with a mech walking around a hilly terrain at night. The mech has a spotlight shining on the ground in front of him. I am using shadow buffers to cast shadows from the spotlight onto the terrain. My problem is the reverse projection of the shadow buffer is hitting the hillside behind the mech. Does anyone know of a good way to eliminate this reverse projection? Ideally I would like to eliminate it at the stage where the shadow depth values are compared but I don't think I have that kind of flexibility.
Thanks,
Michael



