载入中...
搜索中...
未找到
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

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

◆ heightStrength

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

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

◆ metallic

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

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

◆ normalStrength

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

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

◆ roughnessHigh

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

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

◆ roughnessLow

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

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

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


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