the texture problem of shadowmap
I try to implement the shadow effect right now.
But I have encountered one big problem which nearly made me depressed.
The problem can be described below:
I study the technique document and code from OpoenGL SuperBile Third Edition--Shadow Map. I creat a scene which is made up of geometric models(some torus which are red) and DEM terrain. When I render the terrain with color which depends on the height, I get the right result-- the shadow on the torus and terrain.
But when I use a terrain texture, the shadow is lost, and when I change the texture matrix, I find that this can not solve this problem.
Why?
[Edited by - myleo on April 10, 2006 7:14:30 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement