public AmbientLight ( System.Vector3 lightColor ) : System.Vector3 | ||
lightColor | System.Vector3 | |
리턴 | System.Vector3 |
public Vector3 AmbientLight(Vector3 lightColor) {
var a = (AmbientLower + AmbientUpper) * 0.5f;
return new Vector3(lightColor.X * a.X, lightColor.Y * a.Y, lightColor.Z * a.Z);
}