Monday, March 29, 2010

XNA-ShaderEffect-Shadow(Step.1)




Shadow

Matrix[] Shadow;
Matrix[] shadowBones = new Matrix[Bones.Length];
for()
{
    shadowBones[i] = Bones[i] *shadow;
}
foreach()
{
draw View,Bone,Projection
}
------------------------------------------------------------------------
//GraphicsDevice.RenderState.FillMode = FillModel.Point;
//GraphicsDevice.RenderState.FillMode = FillModel.Solid;
                                                                          

No comments:

Post a Comment