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. | |
| IRadientTextureAsset * | pBaseColorTexture = nullptr |
| Optional base color texture. | |
| IRadientTextureAsset * | pMetallicRoughnessTexture = nullptr |
| Optional metallic-roughness texture. | |
| IRadientTextureAsset * | pNormalTexture = nullptr |
| Optional normal texture. | |
| IRadientTextureAsset * | pOcclusionTexture = nullptr |
| Optional occlusion texture. | |
| IRadientTextureAsset * | pEmissiveTexture = nullptr |
| Optional emissive texture. | |
PBR material creation attributes.