参考 shininess()

shininess()

设置 specularMaterial() 的光泽度("shininess")。

有光泽的材料比无光泽的材料更聚焦反射光线。shininess() 影响材料反射光源的方式,包括 directionalLight()pointLight()spotLight()

参数 shine 是一个数字,表示光泽度的程度。 shine 必须大于 1,这是它的默认值。

示例

语法

shininess(shine)

参数

shine

光泽的程度。

Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/material.js and open a pull request!

相关参考