Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientMaterialCreateInfo Struct Reference

PBR material creation attributes. More...

#include <RadientAssets.h>

Public Attributes

const Char * Name = nullptr
 Material name.
RadientFloat4 BaseColorFactor = {1.f, 1.f, 1.f, 1.f}
 Base color multiplier.
Float32 MetallicFactor = 1.f
 Metallic multiplier.
Float32 RoughnessFactor = 1.f
 Roughness multiplier.
RadientFloat3 EmissiveFactor = {0.f, 0.f, 0.f}
 Emissive multiplier.
Float32 AlphaCutoff = 0.5f
 Alpha cutoff used by alpha-tested materials.
Bool DoubleSided = False
 Whether the material should render both sides.
IRadientTextureAssetpBaseColorTexture = nullptr
 Optional base color texture.
IRadientTextureAssetpMetallicRoughnessTexture = nullptr
 Optional metallic-roughness texture.
IRadientTextureAssetpNormalTexture = nullptr
 Optional normal texture.
IRadientTextureAssetpOcclusionTexture = nullptr
 Optional occlusion texture.
IRadientTextureAssetpEmissiveTexture = nullptr
 Optional emissive texture.

Detailed Description

PBR material creation attributes.