Page 2 of 2

Posted: Wed Jul 14, 2004 8:23 am
by Guest
oh sorry, it is always solid. I don't get a slide transparent shadow at all (using OpenGL)

Posted: Wed Jul 14, 2004 8:57 am
by thesmileman
I just checked it out to be sure and 0 IS completly transparent. Set the value to something like 180 or larger and try directx again.

OpenGL does not take the alpha value into account however directx does. When the alpha vaule is 0 the shadows do not appear to be there because they are transparent but anything larger and they do appear.

Posted: Wed Jul 14, 2004 9:06 am
by LordNaikon
i don't have read all tings here but take a look at this maybe i could help

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2122

Posted: Wed Jul 14, 2004 9:13 am
by Guest
Oh sorry thesmileman, you are right! I probably always changed the alpha value in OpenGL mode. It works fine now, thank you very much!!!! It also works when setting all material flags EMF_LIGHTING to false.

Thank you guys, you helped me alot!!!!!!!!

Posted: Wed Jul 14, 2004 9:31 am
by thesmileman
Good to here that it helped. if you don't have EMF_LIGHTING set to true then your models will not appear to be affected by the lights(This might or might not be what you want)

Posted: Wed Jul 14, 2004 9:52 am
by Guest
Why do I see the shadows then as well?

I set the lightning to fals but still see the shadows.

Posted: Wed Jul 14, 2004 11:32 am
by bal
Anonymous wrote:Why do I see the shadows then as well?

I set the lightning to fals but still see the shadows.
Because you define the use of shadows when you create your device (second boolean value I think, first is for fullscreen).