shaill
18-05-2008 14:36:49
Hi All,I have some problems..
My situation is that:
I have finished the basic shadow mapping on my own shader code.
And I wrote 2 versions program that use the shader code.
The first one is used the standard Ogre SDK. I construct a ground mesh(to be shadow receiver) using Ogre::MeshManager and a occluder (to be shadow caster) loaded from a mesh file.
After some shadow setting and applying my shader code, the result is normal.
The second one is use oFusion scene loader to load my scene file.
The scene is successfully loading. But the shadow is gone. This is strange.
Because all the settings are the same with the first one. Why??
I guess that maybe the scene loader is something wrong??
Or there is newer version loader??
Because my loader is downloaded from oFusion official site .
And the version is relased from 2006...
Would u give me some suggestions?
Thanks in advance.!!
My situation is that:
I have finished the basic shadow mapping on my own shader code.
And I wrote 2 versions program that use the shader code.
The first one is used the standard Ogre SDK. I construct a ground mesh(to be shadow receiver) using Ogre::MeshManager and a occluder (to be shadow caster) loaded from a mesh file.
After some shadow setting and applying my shader code, the result is normal.
The second one is use oFusion scene loader to load my scene file.
The scene is successfully loading. But the shadow is gone. This is strange.
Because all the settings are the same with the first one. Why??
I guess that maybe the scene loader is something wrong??
Or there is newer version loader??
Because my loader is downloaded from oFusion official site .
And the version is relased from 2006...
Would u give me some suggestions?
Thanks in advance.!!