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 |
상태: | Deprecated |
속성
- 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) |
상세 설명
큐환경라이트는 큐브맵을 사용하여 물리 기반 렌더링(PBR)과 함께 자주 사용되는 기술인 이미지 기반 조명(IBL)을 구현합니다. 큐브맵은 일반적으로 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.