vue-3d-model icon indicating copy to clipboard operation
vue-3d-model copied to clipboard

如何将光源绑定到摄像机上跟着相机运动呢?

Open monkeygame opened this issue 6 years ago • 3 comments
trafficstars

如何将光源绑定到摄像机上跟着相机运动呢?

monkeygame avatar Jun 19 '19 10:06 monkeygame

没办法直接做到,不过你可以做一些hack,获取内部相机的位置,然后更新光源的位置

hujiulong avatar Jul 01 '19 01:07 hujiulong

我试过,渲染起来非常的卡,通过获取摄像机位置做的

wangerzi avatar Apr 08 '20 03:04 wangerzi

@wangerzi : Will it be possible for you to share that piece of code?

ayushishah-easternts avatar May 14 '20 09:05 ayushishah-easternts