Eri_94
Member
|
problem with shadows
Hi,
Since I'm using a new version of engine, I don't have shadows. I don't know where is the problem. I changed my code with tutorials and Bloody Massacre code, but it didn't solved the problem. Can you help me ?
Regards
Eri
|
|
01-16-2010 08:08 PM |
|
Esenthel
Administrator
|
RE: problem with shadows
please verify manually that latest headers+lib+engine.pak is used
check wiki\installation
|
|
01-16-2010 08:21 PM |
|
Eri_94
Member
|
RE: problem with shadows
The engine has been updated few times.
|
|
01-17-2010 11:25 AM |
|
Eri_94
Member
|
RE: problem with shadows
is it possible to "destroy" shadows by clicking "update format" option in converter tool on all models and phys files ?
|
|
02-06-2010 01:33 PM |
|
Esenthel
Administrator
|
RE: problem with shadows
no, to not display shadows you must not draw them in RM_SHD_MAP mode
|
|
02-06-2010 02:40 PM |
|
Eri_94
Member
|
RE: problem with shadows
I have this:
Code:
static void Render()
{
Game::World.draw();
switch(Renderer())
{
case RM_PREPARE:
case RM_SHD_MAP:
case RM_SOLID:
case RM_AMBIENT: REPAO(Bullets).draw(); break;
}
switch(Renderer())
{
case RM_BLEND: REPAO(Bloods).draw(); break;
}
}
and this:
and I'm desperated -_-
|
|
02-06-2010 03:03 PM |
|
Esenthel
Administrator
|
RE: problem with shadows
maybe you're using RT_SIMPLE renderer?
shadows are supported only in RT_MULTI_PASS and RT_SINGLE_PASS
with enabled shadows through D.shdMode(SHD_MAP_HW)
|
|
02-07-2010 09:53 PM |
|
Eri_94
Member
|
RE: problem with shadows
solved before in config.txt I had Render=2 now I have Render=0, stupid mistake -_-
Thank you very very much
Regards
Eri
|
|
02-08-2010 11:39 AM |
|