Search found 2 matches

by ProdigalSquirrel
Tue Aug 14, 2007 3:11 pm
Forum: Beginners Help
Topic: Shadows
Replies: 3
Views: 1198

Yay

Thanks for the quick responses.

I was actually adding shadow volumes, which I forgot to mention. However, I'm loading the scenes as an .irr file, and I don't think it is calling the addShadowVolume function correctly.

/** SCENES */
scene->loadScene("maps\\floodwall.irr");
scene->setAmbientLight ...
by ProdigalSquirrel
Mon Aug 13, 2007 9:44 pm
Forum: Beginners Help
Topic: Shadows
Replies: 3
Views: 1198

Shadows

I can't get shadows to work.

From what I can tell through the tutorials and such, adding in shadows is simply a matter of setting the shadows flag to true when you call createDevice. Like so...

IrrlichtDevice *device = createDevice(EDT_OPENGL, dimension2d<s32>(SWIDTH,SHEIGHT), 32, false, true ...