How about a command refferecne?
InitShadows(Camera) Initialises the shadows. The first command which should be called!
FreeShadows() deletes everything about the shadows.
SetShadowColors(alpha#, r, g, b) Alphe sets the shadow alpha and rgb decides about the shadow colors(should be between 0,0,0 and 40,40,40 at all the times !)
SetShadowLight(ent) Light caster! If you set a secon one, the old one will be automaticly deleted!
SetShadowMesh(ent, casting, path$) - set a shadow mesh. if casting = true then it is a caster and a receiver. otherwise it is a receiver only. when you set a path he writes the informations about the caster down there(this is for the InitTime faster!!!!)
Render(mode) use this instead of renderworld and updateworld. mode0 = no shadows; mode1 = shadows; mode2 = debugmode, volumes only.
do not toucxh any other functions casue the are internal functions. setshadowcaster() is an internal function(for example)
have fun:)
InitShadows(Camera) Initialises the shadows. The first command which should be called!
FreeShadows() deletes everything about the shadows.
SetShadowColors(alpha#, r, g, b) Alphe sets the shadow alpha and rgb decides about the shadow colors(should be between 0,0,0 and 40,40,40 at all the times !)
SetShadowLight(ent) Light caster! If you set a secon one, the old one will be automaticly deleted!
SetShadowMesh(ent, casting, path$) - set a shadow mesh. if casting = true then it is a caster and a receiver. otherwise it is a receiver only. when you set a path he writes the informations about the caster down there(this is for the InitTime faster!!!!)
Render(mode) use this instead of renderworld and updateworld. mode0 = no shadows; mode1 = shadows; mode2 = debugmode, volumes only.
do not toucxh any other functions casue the are internal functions. setshadowcaster() is an internal function(for example)
have fun:)