有没有办法让 MeshPhongMaterial 忽略所有灯光

Is there a way to make a MeshPhongMaterial ignore all lights

我正在使用 ThreeJS r67 我有一个静态房间,灯光已烘烤,因此灯光不需要影响它,但房间里还有一个人确实需要灯光。有没有办法让房间里的所有材质都设置为忽略灯光?

根据 ColladaLoader.js(在 three.js r67 中)第 3550-3572 行,您可以在 collada 模型文件中指定要创建的 material 类型。您可能正在使用 blinnphong,您需要将其更改为 constant