ebol
11-10-2006 18:42:57
Hi!
I'm having problems adding shadows to me scene. Only the STENCIL shadows are working, when I try to use RTT shadows, theres no shadows in the scene. I'm exporting me scene to OSM file and then loading it with the oSceneLoader demo.
I really would like to use RTT shadows, since they'r cheaper then the stencil ones, and if theres a posibility of doing it automaticly under oFusion it would be great
What am I doing wrong? Is that an oF problem, the loader code, or my
This is the part of ogre.log for oSceneLoader:
Can anyone help?
Thanks in advance
I'm having problems adding shadows to me scene. Only the STENCIL shadows are working, when I try to use RTT shadows, theres no shadows in the scene. I'm exporting me scene to OSM file and then loading it with the oSceneLoader demo.
I really would like to use RTT shadows, since they'r cheaper then the stencil ones, and if theres a posibility of doing it automaticly under oFusion it would be great
What am I doing wrong? Is that an oF problem, the loader code, or my
This is the part of ogre.log for oSceneLoader:
19:28:44: ********************************
19:28:44: ** oScene Loader Lib **
19:28:44: ********************************
19:28:44: oSceneLoader: Loading 'scene.osm' file
19:28:44: oSceneLoader: Creating scene on 'Root' node
19:28:44: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
19:28:44: Creating viewport on target 'rtt/2348672', rendering from camera 'Ogre/ShadowTextureCam0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
19:28:44: Viewport for camera 'Ogre/ShadowTextureCam0', actual dimensions L: 0 T: 0 W: 512 H: 512
19:28:44: Mesh: Loading gt4 ref body.mesh.
19:28:45: Texture: gt4_ggg.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
19:28:45: Texture: spheremap.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
19:28:45: Mesh: Loading Plane01.mesh.
19:28:45: Texture: rockwall.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
19:28:45: Creating viewport on target 'OGRE Render Window', rendering from camera 'Camera01', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
19:28:45: Viewport for camera 'Camera01', actual dimensions L: 0 T: 0 W: 800 H: 600
19:28:45: ********************************
19:28:45: ** oSceneLoader: Scene loaded **
19:28:45: ********************************
Can anyone help?
Thanks in advance