threejs里光源和材质的关系

材质类型 功能
MeshBasicMaterial 基础网格材质,不受光照影响的材质
MeshLambertMaterial Lambert网格材质,与光照有反应,漫反射
MeshPhongMaterial 高光Phong材质,与光照有反应
MeshStandardMaterial PBR物理材质,相比较高光Phong材质可以更好的模拟金属、玻璃等效果
MeshNormalMaterial 法线网格材质

所以我们使用基础网格材质,光照体现不出来

hxy

hxy

秦 夏

留下你的评论

快留下你的小秘密吧