设置 specularMaterial() 的光泽度("shininess")。
有光泽的材料比无光泽的材料更聚焦反射光线。shininess() 影响材料反射光源的方式,包括 directionalLight()、pointLight() 和 spotLight()。
参数 shine 是一个数字,表示光泽度的程度。 shine 必须大于 1,这是它的默认值。
示例
语法
shininess(shine)
参数
shine
数字:
光泽的程度。
This page is generated from the comments in src/webgl/material.js . Please feel free to edit it and submit a pull request!