Skip to content

Kuesa::Qt3D::Iro2GlassEquiRectMaterial

#include <iro2glassequirectmaterial.h>

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

Public Slots

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

Public Signals

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

Public Functions

Name
Q_INVOKABLE Iro2GlassEquiRectMaterial(Qt3DCore::QNode * parent =nullptr)
~Iro2GlassEquiRectMaterial()
Iro2GlassEquiRectProperties * materialProperties() const

Public Properties

Name
Kuesa::Qt3D::Iro2GlassEquiRectProperties * 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

Public Slots Documentation

slot setMaterialProperties

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

slot setMaterialProperties

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

Public Signals Documentation

signal materialPropertiesChanged

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

Public Functions Documentation

function Iro2GlassEquiRectMaterial

1
2
3
explicit Q_INVOKABLE Iro2GlassEquiRectMaterial(
    Qt3DCore::QNode * parent =nullptr
)
1
2
3
4
5
6
7
8
\class Kuesa::Qt3D::Iro2GlassEquiRectMaterial
\ingroup KuesaQt3DAPI
\headerfile Kuesa/Qt3D/api/iro2-materials/iro2glassequirectmaterial.h <Kuesa/Qt3D/api/iro2-materials/iro2glassequirectmaterial.h>
\noop Kuesa::Qt3D::GLTF2Material
\noop Kuesa
\since Kuesa 2.0

\brief Kuesa::Qt3D::Iro2GlassEquiRectMaterial is a simple material in terms of rendering that relies on a 2d spherical environment map to render transparent, glass like material.

It performs 2 render passes. The first one performs multiplicative blending using the glass filter simulating the tint of the glass. The second pass performs additive blending for the reflections. This variant uses a real normal map and equi-rectangular projection, see Iro2GlassSem to use a fake normal map and SEM reflection.

function ~Iro2GlassEquiRectMaterial

1
~Iro2GlassEquiRectMaterial()

function materialProperties

1
Iro2GlassEquiRectProperties * materialProperties() const

Since: Kuesa 2.0

Public Property Documentation

property materialProperties

1
Kuesa::Qt3D::Iro2GlassEquiRectProperties * materialProperties;

Since: Kuesa 2.0

The properties defining the appearance of the material.


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