Qt Quick 3D - 주문 독립적 투명도 예시

Qt Quick 3D에서 주문 독립적 투명성을 시연합니다.

OIT 예시는 Qt Quick 3D에서 주문 독립적 투명도를 활성화하는 방법을 보여줍니다. 이 기능을 다양한 방식으로 사용하는 여러 예제가 포함되어 있습니다.

예제

파티클 예제에서는 투명 파티클에 OIT를 사용하는 방법을 보여줍니다. 인스턴싱 예제에서는 인스턴싱을 사용하여 렌더링된 모델에 OIT를 사용하는 방법을 보여줍니다. 블렌드 값 정확도 예제에서는 투명 오브젝트의 정렬 문제를 보여주고 OIT를 활성화하여 문제를 해결하는 방법을 보여줍니다.

OIT 제어하기

OIT는 SceneEnvironment 개체에 의해 제어됩니다. 값은 사용자 인터페이스에서 선택한 내용에 따라 설정됩니다.

oit method 는 기본적으로 OITNone 로 설정되어 기능을 비활성화하거나 OITWeightedBlended 로 설정하여 OIT를 활성화할 수 있습니다.

        environment: SceneEnvironment {
            clearColor: "#000000"
            backgroundMode: SceneEnvironment.Color
            antialiasingMode: AppSettings.antialiasingMode
            antialiasingQuality: AppSettings.antialiasingQuality
            oitMethod: SceneEnvironment.OITWeightedBlended
        }

예제 프로젝트 @ code.qt.io

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