maptalks / issues

Repo of issues for webgl layers
3 stars 0 forks source link

default roughnessFactor and metallicFactor #749

Closed liubgithub closed 1 month ago

liubgithub commented 1 month ago

测试用例里面有个模型渲染出来是纯黑色 2.zip

fuzhenn commented 1 month ago

确实会有这个现象,按照three.js的光照逻辑进行修改后,除非有ibl,否则纯的环境光再亮,纯金属都是黑色的。

可以把模型放到three.js的gltf-viewer来验证,右边的lighting里,environment选择为none

liubgithub commented 1 month ago

经过验证,three也是这样