Skip to content

Kuesa::Qt3D::Iro2DiffuseSemMaterial

Module: Kuesa Qt 3D API

Kuesa::Qt3D::Iro2DiffuseSemMaterial is a simple material in terms of rendering that relies on a 2d spherical environment map and a 2d diffuse map to render semi glossy like finishes like clear coated paint. This variant uses a fake normal map and SEM reflection, see Iro2DiffuseEquiRect to use a real normal map and equi-rectangular projection. More...

#include <iro2diffusesemmaterial.h>

Inherits from Kuesa::Qt3D::GLTF2Material, Qt3DRender::QMaterial

Public Slots

Name
void setMaterialProperties(Kuesa::Qt3D::Iro2DiffuseSemProperties * materialProperties)
void setMaterialProperties(Kuesa::Qt3D::GLTF2MaterialProperties * materialProperties)

Public Signals

Name
void materialPropertiesChanged(Kuesa::Qt3D::Iro2DiffuseSemProperties * materialProperties)

Public Functions

Name
Q_INVOKABLE Iro2DiffuseSemMaterial(Qt3DCore::QNode * parent =nullptr)
~Iro2DiffuseSemMaterial()
Iro2DiffuseSemProperties * materialProperties() const

Public Properties

Name
Kuesa::Qt3D::Iro2DiffuseSemProperties * materialProperties

Additional inherited members

Public Slots inherited from Kuesa::Qt3D::GLTF2Material

Name
void setMorphController(Kuesa::Qt3D::MorphController * morphController)
void setSRGBOutput(bool sRGBOutput)

Public Signals inherited from Kuesa::Qt3D::GLTF2Material

Name
void morphControllerChanged(Kuesa::Qt3D::MorphController * morphController)
void sRGBOutputChanged(bool sRGBOutput)

Public Functions inherited from Kuesa::Qt3D::GLTF2Material

Name
~GLTF2Material()
MorphController * morphController() const
bool sRGBOutput() const

Protected Functions inherited from Kuesa::Qt3D::GLTF2Material

Name
GLTF2Material(Qt3DCore::QNode * parent =nullptr)
void setShadowMapDepthTexture(Qt3DRender::QAbstractTexture * depthTexture)
void setShadowMapCubeDepthTexture(Qt3DRender::QAbstractTexture * cubeDepthTexture)
void updateEffectSRGBOutput()

Public Properties inherited from Kuesa::Qt3D::GLTF2Material

Name
Kuesa::Qt3D::MorphController * morphController

Protected Attributes inherited from Kuesa::Qt3D::GLTF2Material

Name
Qt3DRender::QParameter * m_morphControllerParameter
Qt3DRender::QParameter * m_textureTransformParameter
Qt3DRender::QParameter * m_shadowMapDepthTextureParameter
Qt3DRender::QParameter * m_shadowMapCubeDepthTextureParameter
bool m_sRGBOutput

Detailed Description

1
class Kuesa::Qt3D::Iro2DiffuseSemMaterial;

Kuesa::Qt3D::Iro2DiffuseSemMaterial is a simple material in terms of rendering that relies on a 2d spherical environment map and a 2d diffuse map to render semi glossy like finishes like clear coated paint. This variant uses a fake normal map and SEM reflection, see Iro2DiffuseEquiRect to use a real normal map and equi-rectangular projection.

Since: Kuesa 2.0

Public Slots Documentation

slot setMaterialProperties

1
2
3
void setMaterialProperties(
    Kuesa::Qt3D::Iro2DiffuseSemProperties * materialProperties
)

slot setMaterialProperties

1
2
3
void setMaterialProperties(
    Kuesa::Qt3D::GLTF2MaterialProperties * materialProperties
)

Public Signals Documentation

signal materialPropertiesChanged

1
2
3
void materialPropertiesChanged(
    Kuesa::Qt3D::Iro2DiffuseSemProperties * materialProperties
)

Public Functions Documentation

function Iro2DiffuseSemMaterial

1
2
3
explicit Q_INVOKABLE Iro2DiffuseSemMaterial(
    Qt3DCore::QNode * parent =nullptr
)

function ~Iro2DiffuseSemMaterial

1
~Iro2DiffuseSemMaterial()

function materialProperties

1
Iro2DiffuseSemProperties * materialProperties() const

Since: Kuesa 2.0

Public Property Documentation

property materialProperties

1
Kuesa::Qt3D::Iro2DiffuseSemProperties * materialProperties;

Since: Kuesa 2.0

The properties defining the appearance of the material.


Updated on 2023-07-03 at 11:02:12 +0000