Without stencilbuffer you don't get shadows. Irrlicht creates shadowvolumes using the stencilbuffer. But if you have enabled lighting for the polygons then the polygons away from the light are dark (not because of shadows but because direct light doesn't hit them). The only light they receive is the ambient light. Resolution depends on the amount of polygons (light hits the polygon vertices and is interpolated over the polygon area from those).
Thanks for reply. I`ve tried to increase the polygon count to 128 in 'addSphereSceneNode()' call, in the second parameter. However, my application has stopped to run (just blank window appears). Before I set that parameter to 32.
Hm, strange 128 should still be ok (documentation says up to 256). Also can't see a problem here when testing it with that many. Maybe another problem in your app.
ive been waiting to hire a freelancer to improve xeffects to do timed updating to make it faster rather than rendering every frame. currently he is working on the opengl gles port of the shaders(emscripten).