参考 normalMaterial()

normalMaterial()

设置当前材质为普通材质。

普通材质将面对 x 轴的表面设为红色,面对 y 轴的表面设为绿色,面对 z 轴的表面设为蓝色。普通材质不受光线影响。通常在调试时用作占位符材质。

注意:normalMaterial() 只能在 WebGL 模式下使用。

示例

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

相关参考