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?
Tutorial 8 not dark enough
-
- Posts: 16
- Joined: Tue Dec 27, 2005 10:13 am
- Location: Johannesburg, South Africa
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
right after this one:
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
Code: Select all
IAnimatedMeshSceneNode xnode = (IAnimatedMeshSceneNode)node;
xnode.AddShadowVolumeSceneNode();
Code: Select all
node.GetMaterial(0).EmissiveColor.Set(0,0,0,0);