Adding a shadow to my game?

Blitz3D Forums/Blitz3D Programming/Adding a shadow to my game?

Bukky(Posted 2007) [#1]
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.


Fuller(Posted 2007) [#2]
Wait are you asking about Blitz3d or the SDK?


Bukky(Posted 2007) [#3]
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.


big10p(Posted 2007) [#4]
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.


Bukky(Posted 2007) [#5]
Damn :(

Is there anywhere that I can look to get a start on it? I just need a basic shadow below my character.


big10p(Posted 2007) [#6]
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. :)


Bukky(Posted 2007) [#7]
Hmm I suppose that should do. Might look weird if it disappears under a wall or something though, haha. Cheers.


Rroff(Posted 2007) [#8]
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.