shadow


Neutrino
02-14-2004, 12:17 PM
In flugplatz, the planes have detailed shadow. How is this done? Is there smaller brushes withing the plane or what? Because I want to add the same feature to the trees im using.

Craftos
02-14-2004, 04:04 PM
Clipbrush is making this shadow.

greenhorn
02-14-2004, 07:21 PM
clip doesnt cast a shadow, as it doesnt calculate into the vis or lighting atall.
if you want your tree (i assume its a model, sprite or illusionary) to cast a shadow then you can make a block {or whatever shape} out of the NULL texture and float it above the tree, but this will block bullets etc
also the model entity should not be inside this block or it wont be there ingame
or you can then make that piece a func_wall or func_illusionary and set its flag to opaque
to clip a treetrunk i usually make a 4 sided spike, texture it null, make it a func_wall, set it to opaque, and voila, blocks bullets and casts a shadow, if you want the leafy part to shadow too then you'll need more brushes above the tree

-or if you want it to drop leaves when shot texture with the cr_matleaf {spelling?} and set the render amount to 0

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.