载入中...
搜索中...
未找到
eve::procgen::PbrParams结构体 参考

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 &params)
 

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.h69 行定义.

成员函数说明

◆ fromParams()

PbrParams eve::procgen::PbrParams::fromParams ( const Params params)
static

在文件 TextureRecipe.cpp55 行定义.

引用了 eve::procgen::Params::getFloat(), p , 以及 roughnessLow.

类成员变量说明

◆ aoStrength

float eve::procgen::PbrParams::aoStrength = 1.f

在文件 TextureRecipe.h74 行定义.

被这些函数引用 eve::procgen::generatePbrSet().

◆ heightStrength

float eve::procgen::PbrParams::heightStrength = 1.f

在文件 TextureRecipe.h75 行定义.

被这些函数引用 eve::procgen::generatePbrSet().

◆ metallic

float eve::procgen::PbrParams::metallic = 0.f

在文件 TextureRecipe.h72 行定义.

被这些函数引用 eve::procgen::generatePbrSet().

◆ normalStrength

float eve::procgen::PbrParams::normalStrength = 4.f

在文件 TextureRecipe.h73 行定义.

被这些函数引用 eve::procgen::generatePbrSet().

◆ roughnessHigh

float eve::procgen::PbrParams::roughnessHigh = 0.85f

在文件 TextureRecipe.h71 行定义.

被这些函数引用 eve::procgen::generatePbrSet().

◆ roughnessLow

float eve::procgen::PbrParams::roughnessLow = 0.45f

在文件 TextureRecipe.h70 行定义.

被这些函数引用 fromParams() , 以及 eve::procgen::generatePbrSet().


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