Three.js: Cast LightShadow to ShadowMaterial

依然范特西╮ 提交于 2019-12-25 01:52:46

问题


I want to capture the shadow created by a PointerLight to a ShadowMaterial. A MeshPhongMaterial will capture the shadow of the PointerLight but a ShadowMaterial will only capture shadows from objects that are in the scene. Is this possible?

来源:https://stackoverflow.com/questions/54000003/three-js-cast-lightshadow-to-shadowmaterial

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!