PerVertexColorMaterial QML Type
PerVertexColorMaterial 类提供了一个默认实现,用于渲染为每个顶点设置的颜色属性。更多
Import Statement: | import Qt3D.Extras 2.9 |
Inherits: | |
Status: | Deprecated |
详细说明
该光照效果基于环境光照和漫反射光照两个光照组件的组合。环境光照由顶点颜色设置。漫反射考虑了每个顶点的正态分布。
- 环境光是物体在没有任何其他光源的情况下发出的颜色。
- 漫反射是在粗糙表面反射灯光时发出的颜色。
该材质使用了单次渲染传递方法和片段照明形式的效果。技术适用于 OpenGL 2、OpenGL 3 或更高版本以及 OpenGL ES 2。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.