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

A procedural texture is fully described by an albedo ramp + a displacement field + PBR knobs. From one definition both an albedo recipe (ImageData) and a full PBR set (albedo/normal/roughness/metallic/height/ao) are produced. 更多...

#include <TextureRecipe.h>

Public 属性

std::string id
 
ColorRamp albedo
 
std::function< float(float, float, const NoiseField &)> height
 
PbrParams pbr
 

详细描述

A procedural texture is fully described by an albedo ramp + a displacement field + PBR knobs. From one definition both an albedo recipe (ImageData) and a full PBR set (albedo/normal/roughness/metallic/height/ao) are produced.

在文件 TextureRecipe.h85 行定义.

类成员变量说明

◆ albedo

ColorRamp eve::procgen::TextureRecipeDef::albedo

在文件 TextureRecipe.h87 行定义.

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

◆ height

std::function<float(float, float, const NoiseField &)> eve::procgen::TextureRecipeDef::height

在文件 TextureRecipe.h88 行定义.

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

◆ id

std::string eve::procgen::TextureRecipeDef::id

在文件 TextureRecipe.h86 行定义.

◆ pbr

PbrParams eve::procgen::TextureRecipeDef::pbr

在文件 TextureRecipe.h89 行定义.

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


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