载入中...
搜索中...
未找到
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)
 From 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.h 第 105 行定义.

成员函数说明

◆ fromParams()

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

From params.

在文件 TextureRecipe.cpp 第 77 行定义.

引用了 p, params , 以及 roughnessLow.

类成员变量说明

◆ aoStrength

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

◆ heightStrength

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

在文件 TextureRecipe.h 第 111 行定义.

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

◆ metallic

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

◆ normalStrength

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

◆ roughnessHigh

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

◆ roughnessLow

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

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