shadow problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Guest

Post by Guest »

oh sorry, it is always solid. I don't get a slide transparent shadow at all (using OpenGL)
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post 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.
LordNaikon
Posts: 164
Joined: Wed May 05, 2004 5:34 pm
Location: Germany Berlin
Contact:

Post 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
q|^.^|p beeing every time friendly to everyone
sys: 2500+Barton 512MB 6600GT WinXP
Guest

Post 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!!!!!!!!
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post 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)
Guest

Post by Guest »

Why do I see the shadows then as well?

I set the lightning to fals but still see the shadows.
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post 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).
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Post Reply