我正在加载从3ds max导出的OBJ文件。 .mat文件中的材料具有奇怪的环境值(1,1,1):
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Wbuilder</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="./assets/files/css/style.css">
// instead of this i need to call this from a variable
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html>
看看例子:Ka全是1。 如何使用这样的数据? 我正在使用适当的维基页面中描述的标准Blinn-Phong照明模型。
答案 0 :(得分:0)
我已经忘记了光源环境因素,它与产品中的物质环境因子产生正确的值。