material~MeshPBRMaterial(options)

基础PBR材质,PBR即基于物理的渲染,PBR材质能够基于有限的参数创建更加符合现实视觉效果的表面显示。

Summary

Methods:

Constructor

new MeshPBRMaterial(options)

Parameters:
Name Type Description
options
Name Type Description
metalness Number

金属度,默认为0,即非金属。

roughness Number

粗糙度,默认为0.6。

metallicMap module:material~Texture

金属度贴图纹理对象。

roughnessMap module:material~Texture

粗糙度贴图纹理对象。

Methods