Kuesa Runtime

Iro2GlassSemMaterial Class

class Kuesa::Iro2GlassSemMaterial

Kuesa::Iro2GlassSemMaterial 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 fake normal map and SEM reflection, see Iro2GlassEquiRect to use a real normal map and equi-rectangular projection. More...

Header: #include <Kuesa/Iro2GlassSemMaterial>
Since: Kuesa 1.3
Instantiated By: Iro2GlassSemMaterial
Inherits: Kuesa::GLTF2Material

This class was introduced in Kuesa 1.3.

Properties

Public Functions

Kuesa::Iro2GlassSemProperties *materialProperties() const

Public Slots

void setMaterialProperties(Kuesa::GLTF2MaterialProperties *materialProperties)
void setMaterialProperties(Kuesa::Iro2GlassSemProperties *materialProperties)

Signals

void materialPropertiesChanged(Kuesa::Iro2GlassSemProperties *materialProperties)

Detailed Description

Property Documentation

materialProperties : Kuesa::Iro2GlassSemProperties*

The properties defining the appearance of the material.

This property was introduced in Kuesa 1.3.

Access functions:

Kuesa::Iro2GlassSemProperties *materialProperties() const
void setMaterialProperties(Kuesa::Iro2GlassSemProperties *materialProperties)
void setMaterialProperties(Kuesa::GLTF2MaterialProperties *materialProperties)

Notifier signal:

void materialPropertiesChanged(Kuesa::Iro2GlassSemProperties *materialProperties)