MeshBasicMaterial Three.js 亮度

MeshBasicMaterial Three.js brightness

我目前正在使用 threejs 中的 MeshBasicMaterial 作为灯光。每个里面都有一个假的点光源。 我有一个名为 color 的变量。是rgb(random value, random value, random value)。目前,我希望 MeshBasicMaterial 更亮。有什么办法吗?如果需要,我愿意切换到另一个 material。

如@PhilN 所述:

MeshBasicMaterial is not affected by lights.

我建议改用 MeshLambertMaterialMeshPhongMaterial,两者都会变成 brighter/darker,具体取决于您的光源值。