Code archives/3D Graphics - Effects/Stencil Shadow System

This code has been declared by its author to be Public Domain code.

Download source code

Stencil Shadow System by Devils Child
(Posted 21 years ago)
this is a little stencil shadow system.
read more about that here:

http://www.blitzbasic.com/logs/userlog.php?user=8270&log=660

heve fun :)
-

Comments

Naughty Alien
(Posted 21 years ago)
..excellent..thanks for share man

Naughty Alien
(Posted 21 years ago)
Is this working properly with B3D as well as MD2 animated meshes?

Devils Child
(Posted 21 years ago)
no, md2 meshes arent included and will never be.
well, later i will make animated meshes casting a shadow, but for md2 it is not possible...

Naughty Alien
(Posted 21 years ago)
..okay..sounds good and very easy to use..i hope you will make it faster, its really cool..and I hope B3D animated mesh support will be included..

degac
(Posted 21 years ago)
Very very good!
Of course my compliments to Vincenzo (aka Dare Devil) for his work

Devils Child
(Posted 21 years ago)
yes... thx for compliments :)
i am now working with dare devil together in a team, so we can easily make a shadow system together :)

MisterMecha
(Posted 21 years ago)
I've been having trouble getting this to work. It comes up saying there's no such thing as SetRenderState, and crashes. It points to lines like this one:

SetRenderState(Direct3Ddevice7, D3DRS_ZWRITEENABLE, True)

Stevie G
(Posted 21 years ago)
Put the .dll and decals files in your userlibs folder for Blitz3d and it should work fine. Unless, of course, your using a gfx card which doesn't support stencil shadows.

Stevie

Filax
(Posted 20 years ago)
Hi Devils Child :)

do you plan to improve shadow rendering ? because the casting work perfectly !!, but the dark side of the objects are polygoned ?

Code Archives Forum