Graphics v0.0.0
A simple abstraction layer for the modern graphics APIs.
载入中...
搜索中...
未找到
Material::PBR结构体 参考

Public 类型

enum  Workflow : int { MetallicRoughness = 0 , SpecularGlossiness = 1 }
 

Public 属性

std::shared_ptr< Texture > albedo
 
std::shared_ptr< Texture > normals
 法线.
 
std::shared_ptr< Texture > metallic
 金属.
 
std::shared_ptr< Texture > roughness
 粗糙.
 
std::shared_ptr< Texture > emissive
 
std::shared_ptr< Texture > occlusion
 环境光遮蔽.
 
float albedoFactor = 1.0f
 
float metallicFactor = 1.0f
 
float roughnessFactor = 1.0f
 
float emissiveFactor = 1.0f
 
float occlusionFactor = 1.0f
 
Workflow workflow
 

该结构体的文档由以下文件生成: