Material
Variables
Name |
Type |
Description |
---|---|---|
diffuseTexture |
The diffuse texture. |
|
normalTexture |
The normal texture. |
|
metalnessTexture |
The metalness texture. |
|
roughnessTexture |
The roughness texture. |
|
occlusionTexture |
The occlusion texture. |
|
emissiveTexture |
The emissive texture. |
|
emissiveFactor |
float |
The emissive factor to multiply the emissive texture with. |
alphaCutoff |
float |
The alpha cutoff value to compare with the diffuse texture’s alpha channel. |
indexOfRefraction |
float |
The index of refraction. |
useTriplanarMapping |
bool |
If |
scaleUV |
Math::vec2 |
The texture coordinates’ scale. |
offsetUV |
Math::vec2 |
The texture coordinates’ offset. |