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< Texturealbedo
 
std::shared_ptr< Texturenormals
 法线.
 
std::shared_ptr< Texturemetallic
 金属.
 
std::shared_ptr< Textureroughness
 粗糙.
 
std::shared_ptr< Textureemissive
 
std::shared_ptr< Textureocclusion
 环境光遮蔽.
 
float albedoFactor = 1.0f
 
float metallicFactor = 1.0f
 
float roughnessFactor = 1.0f
 
float emissiveFactor = 1.0f
 
float occlusionFactor = 1.0f
 
Workflow workflow
 

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