PhongAlphaMaterial QML Type

PhongAlphaMaterial 클래스는 알파를 사용한 퐁 조명 효과의 기본 구현을 제공합니다. 더 보기...

Import Statement: import Qt3D.Extras 2.8
Inherits:

Material

Status: Deprecated

이 유형은 더 이상 사용되지 않습니다. 새 코드에서 사용하지 않는 것이 좋습니다.

속성

자세한 설명

퐁 조명 효과는 앰비언트, 디퓨즈, 스페큘러의 3가지 조명 구성 요소의 조합을 기반으로 합니다. 이러한 구성 요소의 상대적인 강도는 RGB 세 쌍둥이로 모델링된 반사율 계수를 통해 제어됩니다:

  • 앰비언트는 다른 광원 없이 물체에서 방출되는 색입니다.
  • 확산은 조명에 의한 표면 반사를 위해 방출되는 색상입니다.
  • 스페큘러는 조명에 의해 반짝이는 표면 반사를 위해 방출되는 색상입니다.
  • 표면의 광택은 플로트 프로퍼티로 제어됩니다.
  • 알파는 0(완전 투명)에서 1(불투명) 사이의 표면 투명도입니다.

이 머티리얼은 단일 렌더 패스 접근 방식의 효과를 사용하며 조각별 조명을 수행합니다. OpenGL 2, OpenGL 3 이상 및 OpenGL ES 2에 대한 기술이 제공됩니다.

프로퍼티 문서

alpha : real

0과 1 사이에서 변화하는 오브젝트의 알파 성분을 보유합니다.

기본값은 0.5입니다.


ambient : color

현재 앰비언트 색을 보유합니다.


blendFunctionArg : BlendEquation::BlendFunction

블렌드 방정식 함수 인수를 보유합니다.

Qt3DRender::QBlendEquation::BlendFunction참조하십시오 .


destinationAlphaArg : BlendEquationArguments::Blending

블렌드 방정식 대상 알파 블렌딩 인수를 보유합니다.

Qt3DRender::QBlendEquationArguments::Blending참조 .


destinationRgbArg : BlendEquationArguments::Blending

블렌드 방정식 대상 RGB 블렌딩 인수를 보유합니다.

Qt3DRender::QBlendEquationArguments::Blending참조 .


diffuse : color

현재 디퓨즈 색을 보유합니다.


shininess : real

현재 광택을 유지합니다.


sourceAlphaArg : BlendEquationArguments::Blending

블렌드 방정식 소스 알파 블렌딩 인수를 보유합니다.

Qt3DRender::QBlendEquationArguments::Blending참조 .


sourceRgbArg : BlendEquationArguments::Blending

블렌드 방정식 소스 RGB 블렌딩 인수를 보유합니다.

Qt3DRender::QBlendEquationArguments::Blending참조 .


specular : color

현재 스페큘러 색을 보유합니다.


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