百度智能云AR开放平台使用指南-AR场景开发专题-灯光 |
产品推荐: 1、安全稳定的云服务器租用,2核/2G/5M仅37元,点击抢购>>>; 2、高防物理服务器20核/16G/50M/500G防御仅350元,点击抢购>>> 3、百度智能建站(五合一网站)仅880元/年,点击抢购>>> 模板建站(PC+手机站)仅480元/年,点击抢购>>> 4、阿里云服务器2核2G3M仅99元/年、2核4G5M仅199元/年,新老同享,点击抢购>>> 5、腾讯云服务器2核2G4M仅99元/年、新老同享,点击抢购>>> 点击这里申请百度智能云特邀VIP帐号,立即体验AR开放平台>>> 百度智能云AR开放平台使用指南-AR场景开发专题-灯光 平行光{
"name": "directLight",
"type": "directLight",
"chirlden": [],
"lightNodeSuppl":
{
"color": "255.0,255.0,255.0",
"intensity": 1.0,
"direction": "0, -1, -2",
"enableShadow": 1
}
} 环境光{
"name": "ambientLight",
"type": "ambientLight",
"chirlden": [],
"lightNodeSuppl":
{
"color": "255,255,255",
"intensity": 1
}
} 聚光{
"name": "spotLightUp",
"type": "spotLight",
"visible": 1,
"position": "0,0,500",
"scale": "5,5,5",
"rotation": "0,0,0",
"chirlden": [],
"lightNodeSuppl":
{
"color": "255,255,255",
"direction": "0,0,-1",
"distance": 17000,
"intensity": 2.5,
"decay": 0,
"angel": 30,
"penumbra": 1
}
} 点光{
"name": "pointLight",
"type": "pointLight",
"position": "0,10000,10000",
"chirlden": [],
"lightNodeSuppl":
{
"color": "255,255,255",
"intensity": 1,
"distance": 70000,
"decay": 0,
"enableShadow": 1
}
} 半球光{
"name": "hemisphereLight",
"type": "hemisphereLight",
"chirlden": [],
"lightNodeSuppl":
{
"skyColor": "0,0,0",
"groundColor": "255,255,255",
"intensity": 1,
"direction": "0,-1,0"
}
} |