Truelegend
Member
|
How i can draw shadow on Game::World?
I have mesh
and i want to draw shadow on my world.
so i tried
Code:
Sword1.draw(MatrixIdentity);
doesnt work'd so i tried
Code:
Sword1.draw(Gane::World()::MatrixIdentity);
but it too doesnt work.
Anyone can help. please
|
|
04-16-2011 04:30 PM |
|
Dynad
Member
|
RE: How i can draw shadow on Game::World?
hm?
There is always evil somewhere, you just have to look for it properly.
|
|
04-16-2011 10:01 PM |
|
Dandruff
Member
|
RE: How i can draw shadow on Game::World?
its mesh::drawshadow i think
|
|
04-16-2011 10:18 PM |
|
Truelegend
Member
|
RE: How i can draw shadow on Game::World?
.My mistake... i think it was draw .hehe sorry
|
|
04-16-2011 10:20 PM |
|
siwykon
Member
|
RE: How i can draw shadow on Game::World?
For example:
void Render()
{
Game::World.draw();
switch(Renderer())
{
case RM_SHD_MAP: //Shadow rendering
{
if(Sword1)Sword1.drawShadow(Players[0].cskel);
}
break;
}
}
Try this.
|
|
04-17-2011 09:18 AM |
|