PhongMaterial QML Type
PhongMaterial クラスは、フォン照明効果のデフォルトの実装を提供します。詳細...
| Import Statement: | import Qt3D.Extras 2.12 |
| Inherits: | |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
詳細な説明
フォン照明効果は、アンビエント、ディフューズ、スペキュラーという3つの照明成分の組み合わせに基づいています。これらの成分の相対的な強さは、RGBの3値でモデル化された反射率係数によって制御されます。
- アンビエントとは、他の光源がない状態でオブジェクトから放射される色のことです。
- ディフューズは、光が粗い表面で反射した際に発せられる色です。
- スペキュラーは、光が光沢のある表面で反射した際に発せられる色です。
- 表面の光沢度は、float型のプロパティによって制御されます。
このマテリアルは、シングルレンダーパス方式の効果を使用し、フラグメントごとのライティングを実行します。OpenGL 2、OpenGL 3 以降、および OpenGL ES 2 向けの技術が提供されています。
プロパティのドキュメント
ambient : color
現在の周囲の色を保持します。
diffuse : color
現在の拡散色を保持します。
shininess : real
現在の光沢度を維持します。
specular : color
現在のスペキュラーカラーを保持します。
© 2026 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.