There is a bug in latest SVN version and i believe in 1.7.3 too.
I have tested the bug on ATI and GeForce cards and both OpenGL shows OK and Direct3D shows wrong - the dimed scene.
Direct3D driver dims the scene when CastShadows is off and stencil shadows enabled. If we don't use stencil shadows then Direct3D draws correct result.
For the test case i took source of 08.SpecialFX and added single line just after creation of the light node:
Code: Select all
((scene::ILightSceneNode*)node)->getLightData().CastShadows = false;
(as you see, Direct3D result looks like everything is in the shadow)
P.S.: you can also modify the source to turn on/off the CastShadows on the fly at run-time on some key press, and the screen will flicker when running Direct3D.