Tutorial 8 not dark enough

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
AndreOdendaal
Posts: 16
Joined: Tue Dec 27, 2005 10:13 am
Location: Johannesburg, South Africa

Tutorial 8 not dark enough

Post 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?
Zitzu
Posts: 28
Joined: Sun Jul 03, 2005 9:18 am

Post 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! :)
Guest

Post 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 :)
Zitzu
Posts: 28
Joined: Sun Jul 03, 2005 9:18 am

Post by Zitzu »

It was me: I forgot to log in ;)
Locked