EnvironmentLight QML Type

Qt 3D 场景中封装环境光对象。更多

Import Statement: import Qt3D.Render 2.9
In C++: QEnvironmentLight
Status: Deprecated

属性

详细说明

EnvironmentLight 使用立方体贴图来实现基于图像的照明(IBL),这是一种经常与基于物理的渲染(PBR)结合使用的技术。立方体贴图通常以高动态范围(HDR)图像为基础,采用可处理更大数值范围的合适 OpenGL 格式(如 RGBA16F)。

有多种工具可用于生成 EnvironmentLight 所需的立方体贴图。其中包括

HDRI Haven提供了许多 CC0 许可的 HDR 图像,可用作上述工具的源材料。

属性文档

irradiance : Texture

保存当前环境辐照度贴图纹理。

默认情况下,环境辐照度纹理为空。

注: 此属性的确切含义和使用取决于材质的实现。


specular : Texture

当前环境镜面贴图纹理。

默认情况下,环境镜面纹理为空。

注: 此属性的具体含义和使用取决于材质的实现。


© 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.