Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法BABYLON.Sprite像网格一样受到灯光的影响?
BABYLON.Sprite
Sprite API 可以访问 RGB 值,因此可以间接完成,但我不确定是否有更好的方法来做到这一点。
您好,如果您想访问标准阴影,最好的方法是使用带有 mesh.billboardMode = BABYLON.MESH.BILLBOARD_ALL 的网格
(http://doc.babylonjs.com/classes/2.3/AbstractMesh#billboardmode-number)