Page 1 of 1

Tutorial 8 not dark enough

Posted: Wed Dec 28, 2005 1:10 pm
by AndreOdendaal
Hi everyone,

It might just be me but I can't the environment in Tutorial 8 to be as dark as the C++ example.

In a desperate attempt I loaded up Zitzu's (BTW, Thanks alot for your conversions) tutorial and I see it's just as light.

I've also noticed that SpecialFX.exe asks the question about realtime shadows, but it's not in the tutorial.

Can anyone cast light on this?

Posted: Thu Jan 05, 2006 12:14 am
by Zitzu
Hi Andre, I can remember there was some flag still unimplemented about the realtime shadows. Maybe that's the reason.

I am falling asleep just now so I will check and reply better tomorrow!
Sorry! :)

Posted: Thu Jan 05, 2006 7:18 pm
by Guest
Hi Andre, I think the problem you report is given by the "room" mesh not being applied any shadow. I tried a quick hack putting this two lines

Code: Select all

IAnimatedMeshSceneNode xnode = (IAnimatedMeshSceneNode)node;
xnode.AddShadowVolumeSceneNode();
right after this one:

Code: Select all

node.GetMaterial(0).EmissiveColor.Set(0,0,0,0);
The result is interesting but not exactly what I was expecting! Try for yourself... I think this could be a little problem in the Irrlicht.NET wrapper but I promise I will investigate further to see if I can make it work as intended :)

Posted: Fri Jan 06, 2006 11:32 am
by Zitzu
It was me: I forgot to log in ;)