예제 #1
0
 //初始化光源
 public DirectionLight(Vector4 pos, Color4 color)
 {
     LightPos   = pos.Normalized;
     LightColor = color;
     kd         = MaxKD * StartKD;
 }