Tuesday, October 21, 2008

Shadows-UT3


Hei peeps the following is a short tutorial describing how to get shadows to work for cooked packages.


1. Do not 'add actor as static mesh' AddActor as 'mover:StaticMesh.......'














2. Open up it's properties and within 
DynamicSActor/LightEnvironment/
LightEnvironmentComponent 
check bEnabled, as pictured.










3.Ensure the light ur using has the 
'CastShadows' box checked,
and Bcastcompositeshadow. If 
you don't check the last box the
mesh will still cast a shadow but the
shadow direction will not be affected
by the static lights position. It will
simply put a shadow below the mesh.







4. Rebuild and play. Don't panic 
if there are no shadows 
showing and your 
static mesh is completely black. 
Just play and it'll work.











5. If you already have static 
meshes placed within a map 
and want them to cast shadows 
simply right click on the 
mesh and 'convert/
ConvertStaticMesh to Mover'. 
This will allow to open up 
its properties and check the 
bEnabled box, as outlined
 in step 2.







6. Pictured is the mesh 
casting shadows in a 
Death Match in game.
Walah






1 comment:

History