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.
有没有办法动态改变投射阴影的光的“位置”。我只想要玩家周围有阴影的区域,而不是整个地图。
可以通过移动shadowCameraTop/Right/Bottom/Left然后更新投影矩阵,或者设置灯光本身的位置来完成