..excellent..thanks for share man
Code archives/3D Graphics - Effects/Stencil Shadow System
This code has been declared by its author to be Public Domain code.
Download source code
| 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
Is this working properly with B3D as well as MD2 animated meshes?
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...
well, later i will make animated meshes casting a shadow, but for md2 it is not possible...
..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..
Very very good!
Of course my compliments to Vincenzo (aka Dare Devil) for his work
Of course my compliments to Vincenzo (aka Dare Devil) for his work
yes... thx for compliments :)
i am now working with dare devil together in a team, so we can easily make a shadow system together :)
i am now working with dare devil together in a team, so we can easily make a shadow system together :)
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)
SetRenderState(Direct3Ddevice7, D3DRS_ZWRITEENABLE, True)
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
Stevie
Hi Devils Child :)
do you plan to improve shadow rendering ? because the casting work perfectly !!, but the dark side of the objects are polygoned ?
do you plan to improve shadow rendering ? because the casting work perfectly !!, but the dark side of the objects are polygoned ?