QEnvironmentLight Class
class Qt3DRender::QEnvironmentLightQt 3D シーン内の環境ライトオブジェクトをカプセル化します。もっと見る
ヘッダー | #include <QEnvironmentLight> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | EnvironmentLight |
を継承しています: | Qt3DCore::QComponent |
ステータス | 非推奨 |
プロパティ
- irradiance : Qt3DRender::QAbstractTexture*
- specular : Qt3DRender::QAbstractTexture*
パブリック機能
Qt3DRender::QAbstractTexture * | irradiance() const |
Qt3DRender::QAbstractTexture * | specular() const |
パブリックスロット
void | setIrradiance(Qt3DRender::QAbstractTexture *irradiance) |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
シグナル
void | irradianceChanged(Qt3DRender::QAbstractTexture *environmentIrradiance) |
void | specularChanged(Qt3DRender::QAbstractTexture *environmentSpecular) |
詳細説明
QEnvironmentLightはキューブマップを使用してイメージベースライティング(IBL)を実装し、物理ベースレンダリング(PBR)と組み合わせて使用されることが多いテクニックです。キューブマップは通常、ハイダイナミックレンジ(HDR)イメージに基づいており、増加した値の範囲を処理できる適切なOpenGLフォーマット(RGBA16Fなど)を使用することが期待されます。
QEnvironmentLightが必要とするキューブマップを作成するために使用できる様々なツールがあります。例えば
HDRI Havenは、上記のツールの素材として使用できるCC0ライセンスのHDR画像を多数提供しています。
プロパティ・ドキュメント
irradiance : Qt3DRender::QAbstractTexture*
現在の環境放射照度マップテクスチャを保持します。
デフォルトでは、環境放射照度テクスチャは NULL です。
注意: このプロパティの正確な意味と使用方法は、マテリアルの実装次第です。
アクセス関数:
Qt3DRender::QAbstractTexture * | irradiance() const |
void | setIrradiance(Qt3DRender::QAbstractTexture *irradiance) |
通知シグナル:
void | irradianceChanged(Qt3DRender::QAbstractTexture *environmentIrradiance) |
specular : Qt3DRender::QAbstractTexture*
現在の環境スペキュラマップテクスチャを保持します。
デフォルトでは、環境スペキュラテクスチャは NULL です。
注意: このプロパティの正確な意味と使用方法は、マテリアルの実装次第です。
アクセス関数:
Qt3DRender::QAbstractTexture * | specular() const |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
通知シグナル:
void | specularChanged(Qt3DRender::QAbstractTexture *environmentSpecular) |
© 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.