QtCraft API C++ classes QML types Handbook

QcMaterialParams::Inclusion Struct

struct QcMaterialParams::Inclusion

What the texels of a second colour get (the ore in a stone, decision E-908): the texels nearer to the definition's secondary than to its primary colour. More...

Public Variables

float emission
QcMaterialParams::Metal metal
float raise
int reflectance
float smoothness

Detailed Description

Member Variable Documentation

float Inclusion::emission

Emission of the inclusion's texels.

QcMaterialParams::Metal Inclusion::metal

Metal of the inclusion's texels.

float Inclusion::raise

Raised by this share of the full height range over the stone around it.

int Inclusion::reflectance

F0 * 255 of the inclusion's texels when not metal.

float Inclusion::smoothness

Smoothness of the inclusion's texels.