Here is The node code Is there anything needed to render shadows?
mesh = smgr->getMesh("Bin/swd.x");
if (!mesh)
{
device->drop();
return 1;
}
node = smgr->addAnimatedMeshSceneNode( mesh );
if (node)
{
auto sh = node->addShadowVolumeSceneNode();
//node->setMaterialType(E_MATERIAL_TYPE ...
Search found 4 matches
- Tue Dec 17, 2013 6:18 pm
- Forum: Beginners Help
- Topic: Shadow Troubles
- Replies: 3
- Views: 473
- Tue Dec 17, 2013 2:58 am
- Forum: Beginners Help
- Topic: Shadow Troubles
- Replies: 3
- Views: 473
Shadow Troubles
I was trying to get shadows working in my game.
When I ran the Game with the shadow test the Shadow rendered in an exact 90 degree angle
What can cause this?
When I ran the Game with the shadow test the Shadow rendered in an exact 90 degree angle
What can cause this?
- Sat Dec 14, 2013 5:10 am
- Forum: Beginners Help
- Topic: File Loading Problems (Help)
- Replies: 2
- Views: 517
Re: File Loading Problems (Help)
Got it to work Thanks
- Fri Dec 13, 2013 11:33 pm
- Forum: Beginners Help
- Topic: File Loading Problems (Help)
- Replies: 2
- Views: 517
File Loading Problems (Help)
I'm trying to load files form a local directory. but every time I just enter the file my game crashes.
in Short terms I need to find how to get the local directory. so I can change
mesh = smgr->getMesh("C:/Users/%UserName%/Documents/Visual Studio 2012/Projects/RocketKitty/Debug/SWD.x");
to This ...
in Short terms I need to find how to get the local directory. so I can change
mesh = smgr->getMesh("C:/Users/%UserName%/Documents/Visual Studio 2012/Projects/RocketKitty/Debug/SWD.x");
to This ...