Page 1 of 1

shadows

Posted: Wed Apr 14, 2004 11:49 am
by VeneX as Guest
It seems the shadow function on fullscreen doesn't work in version 0.6 either. How can this be solved, or will this been solved the next version?

Posted: Sat Apr 17, 2004 4:46 pm
by VeneX
Please, does anybody know why it doesn't work?
IrrlichtDevice *device = createDevice(video::EDT_DIRECTX8, core::dimension2d<s32>(1024, 768), 32, true, true);
this seems to be ok.

Yes

Posted: Tue Apr 20, 2004 6:30 am
by Kelo
Yes, i've got the same problem. If you use opengl, maybe the shadows work fine... but with directx (8 and 9) dosn't work (in fullscreen mode).
Please, somebody have a answer for that?? :(

Posted: Tue Apr 20, 2004 6:44 am
by Kelo
If i use:
IrrlichtDevice *device = createDevice(video::EDT_DIRECTX8, core::dimension2d<s32>(1024, 768), 16, true, true);
the shadows work fine (in 16 bits mode), but in 32 bits doesn't.

Posted: Sun May 09, 2004 5:58 pm
by VeneX
Shadows won't even work in 16 bits mode....

Posted: Sat May 15, 2004 7:55 am
by niko
Hm, I think it depends on your hardware.. it works on all of my pcs..

Posted: Sat May 15, 2004 5:36 pm
by VeneX
The shadow in the FX tutorial does work, even on my PC
The source is herehttp://irrlicht.sourceforge.net/phpBB2/ ... php?t=2393.

Posted: Mon May 17, 2004 5:04 am
by LordNaikon
on my bill gates pc it is so that the shadows sometimes work and sometimes not ( in 32bit fullscreen) they are always working in windows mode and/or 16 bit.

cpu: amd athlon xp barton 2500+ & 512 MB ram
os: Bill Gates Microsoft winXP + sp1
gfx: Geforce TI 4200 (newest driver)
dx: 9.0b sdk 9.0
irr: 0.6

Posted: Mon May 17, 2004 6:40 am
by Tyn
Me neither, tho I haven't tried in windowed mode, only FS. Seems quite random I think which is weird. I've got pretty much the same system as the guy above but with a P4 2.8gHz

Posted: Tue May 18, 2004 4:37 am
by Kelo
OK, i was thinking... if the problem with the shadows are the driver... then: why the shadow function work fine in the tech demo (with all the drivers and options), but when i compile (with dev-cpp and Visual Studio.NET), it doesn't work (with directx in 32 bits)?. I think that they're another problem.

I experiment the same problem than LordNaikon.

-My video card is a NVidia Geforce FX 5200 (128 MB DDR)

and i'm using Windows XP (with the two compilers)

Posted: Wed Jul 07, 2004 11:58 pm
by DarkWhoppy
I found that shadows only work when your desktop is in the same color depth as the engine. (tried this quite a few times...) If my destop was in 16bit color, no shadows. I switch to 32bit (which is what I compiled the engine under) and shadows worked fine. Hope that helps someone...

Posted: Fri Jul 09, 2004 9:47 am
by niko
Ah, interesting.

Posted: Wed Jul 14, 2004 11:15 am
by buezi
Hi niko, I have the same problem as DarkWhoppy: Shadows work when the color-depth of windows is equal to the one of irrlicht (or vice versa :wink:), otherwise: No shadows! Also, with shadows I have only half of the normal fps!
Thanks for your effort and cheers

buezi

Posted: Wed Jul 14, 2004 8:40 pm
by thesmileman
buezi wrote:Also, with shadows I have only half of the normal fps!
That would make since as the engine would have to render those shadows. :D

Posted: Thu Jul 15, 2004 7:06 am
by Guest
yes, off course, but I exptected the penalty to be a little smaller. Maybe its a problem of my graphcis card or driver (ati mobility radeon 9200)
cheers buezi