There is a shadow mapping in this tutorial:
http://www.paulsprojects.net/tutorials/smt/smt.html
Good, but I didn’t understand how to create a multitexture scene.
If in the third pass of shadow matching it is necessary to link the texture of the shadows, the projected texture to perform a depth comparison, HOW can I snap other textures if I need to connect the texture of the shadow display?
Should I set the shadow display as a separate texture for snapping? Something like that:
- Active shadow texture
- Active texture 1
- Active texture 2
I tried this, but it did not work (maybe I did something wrong).
okami
source
share