이 페이지에서

AlphaCoverage QML Type

알파-투-커버리지 멀티샘플링 모드를 활성화합니다. 더 보기...

Import Statement: import Qt3D.Render 2.12
In C++: QAlphaCoverage
Inherits:

RenderState

Status: Deprecated

이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

상세 설명

AlphaCoverage 유형은 알파-투-커버리지 멀티샘플링 모드를 활성화합니다. 이 모드가 활성화되면 프래그먼트 알파 값이 샘플의 커버리지로 사용되며, 프래그먼트 커버리지 값과 결합됩니다. 멀티샘플링이 비활성화된 경우 AlphaCoverage는 아무런 동작도 수행하지 않습니다. 알파-투-커버리지는 순서 독립적 블렌딩이 필요한 경우, 예를 들어 나뭇잎, 풀, 기타 무성한 식생을 렌더링할 때 가장 유용합니다.

RenderPass 에 추가할 수 있습니다:

RenderPass {
    shaderProgram: ShaderProgram {
        // ...
    }
    renderStates: [
        AlphaCoverage {},
        MultiSampleAntiAliasing {}
    ]
}

또는 RenderStateSet 에 추가할 수도 있습니다:

MultiSampleAntiAliasing도 참조하십시오 .

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