Ampere K. Hardraade wrote:
I just noticed that when one is inside an object, or the shadow volume of an
object, then the shadow casted by that object is not visible.
Here is an example:
http://www.students.yorku.ca/~ampere/fgfs-screen-010.jpg
Ampere
It is because the viewer is inside a shadow volume, this breaks the so
called zpass rendering.
The solution to that is to use the zfail rendering for the concerned
shadow volume. It's easy.
What is not is to detect this situation in some efficient way and since
the zfail rendering is
a lot slower than the zpass we don't want to render too many volumes
with zfail.
It's on my todo list.
Harald.
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d