Page 1 of 1

Shadows

Posted: Mon Apr 19, 2004 12:03 am
by Kelo
How can i do shadows of the md2 models in the ground of the bsp levels?

I look in the Techdemo (have a nice shadows of sydney in the ground), but i can't do that in my code... I place sydney in the ground, a light in the left... but they aren't shadows of sydney in the walls or the ground.
Also i'm using the setMaterialFlag(EMF_LIGHTING, true) .... what i'm doing wrong?? Please, any help!!!


:)

Posted: Mon Apr 19, 2004 1:16 am
by Robomaniac
check the special effects tutorial

Posted: Tue Apr 20, 2004 6:42 am
by Kelo
Ok, i find that in window mode the shadows works fine... but in fullscreen mode dosn't work if i use directx (8 and 9) Using opengl all works fine (but the color lighting aren't like directx 9).