PBR surface defaults for a generated material. Every map in a PBR set is derived from the same displacement field (see TextureRecipeDef). 更多...
#include <TextureRecipe.h>
静态 Public 成员函数 | |
| static PbrParams | fromParams (const Params ¶ms) |
Public 属性 | |
| float | roughnessLow = 0.45f |
| float | roughnessHigh = 0.85f |
| float | metallic = 0.f |
| float | normalStrength = 4.f |
| float | aoStrength = 1.f |
| float | heightStrength = 1.f |
详细描述
PBR surface defaults for a generated material. Every map in a PBR set is derived from the same displacement field (see TextureRecipeDef).
在文件 TextureRecipe.h 第 69 行定义.
成员函数说明
◆ fromParams()
在文件 TextureRecipe.cpp 第 55 行定义.
引用了 eve::procgen::Params::getFloat(), p , 以及 roughnessLow.
类成员变量说明
◆ aoStrength
| float eve::procgen::PbrParams::aoStrength = 1.f |
在文件 TextureRecipe.h 第 74 行定义.
被这些函数引用 eve::procgen::generatePbrSet().
◆ heightStrength
| float eve::procgen::PbrParams::heightStrength = 1.f |
在文件 TextureRecipe.h 第 75 行定义.
被这些函数引用 eve::procgen::generatePbrSet().
◆ metallic
| float eve::procgen::PbrParams::metallic = 0.f |
在文件 TextureRecipe.h 第 72 行定义.
被这些函数引用 eve::procgen::generatePbrSet().
◆ normalStrength
| float eve::procgen::PbrParams::normalStrength = 4.f |
在文件 TextureRecipe.h 第 73 行定义.
被这些函数引用 eve::procgen::generatePbrSet().
◆ roughnessHigh
| float eve::procgen::PbrParams::roughnessHigh = 0.85f |
在文件 TextureRecipe.h 第 71 行定义.
被这些函数引用 eve::procgen::generatePbrSet().
◆ roughnessLow
| float eve::procgen::PbrParams::roughnessLow = 0.45f |
在文件 TextureRecipe.h 第 70 行定义.
被这些函数引用 fromParams() , 以及 eve::procgen::generatePbrSet().
该结构体的文档由以下文件生成:
- src/modules/procgen/texture/TextureRecipe.h
- src/modules/procgen/texture/TextureRecipe.cpp