Adding a shadow to my game?
Blitz3D Forums/Blitz3D Programming/Adding a shadow to my game?
Hey guys,
I'm still experimenting a bit with the Blitz3d SDK. Is there any documentation out there about adding shadows to a character in my game using Blitz3d calls? The B3D SDK documentation is a bit sparse in this regard.
Wait are you asking about Blitz3d or the SDK?
Heh, it's more or less the same thing, no? ;)
All I have to do to convert Blitz3d to SDK calls is add 'bb' in front of all of my calls.
Blitz3D has one or two third party shadow libs (sswifts is probably the best known) but it doesn't do shadows natively. You have to DIY.
Damn :(
Is there anywhere that I can look to get a start on it? I just need a basic shadow below my character.
If you just need a 'blob' shadow, just stick a sprite/quad under the character. Texture/blend it correctly and it'll do the job. :)
Hmm I suppose that should do. Might look weird if it disappears under a wall or something though, haha. Cheers.
if you just need a simple shadow under one character might wanna look at and adapt the towel shadow example someone did - sorry can't remeber details.