参考 shininess()

shininess()

Sets the amount of gloss ("shininess") of a specularMaterial().

Shiny materials focus reflected light more than dull materials. shininess() affects the way materials reflect light sources including directionalLight(), pointLight(), and spotLight().

The parameter, shine, is a number that sets the amount of shininess. shine must be greater than 1, which is its default value.

示例

语法

shininess(shine)

参数

shine
Number:

amount of shine.

This page is generated from the comments in src/webgl/material.js . Please feel free to edit it and submit a pull request!

相关参考