Ridge controls in caller height units, with explicit clipping bounds. Defaults match the Pcg packed scalar domain [0,0.5]. World-height callers must supply their bounds. Passes counts actual shader applications: Pcg's UI iteration value N maps to floor(N)+2 passes, so its default 16 maps to 18 here. 更多...
#include <TerrainEffect.h>
Public 属性 | |
| float | mixStrength = 0.5F |
| float | exponent = 16 |
| float | strength = 1 |
| float | minimum = 0 |
| float | maximum = 0.5F |
| int | passes = 18 |
详细描述
Ridge controls in caller height units, with explicit clipping bounds. Defaults match the Pcg packed scalar domain [0,0.5]. World-height callers must supply their bounds. Passes counts actual shader applications: Pcg's UI iteration value N maps to floor(N)+2 passes, so its default 16 maps to 18 here.
在文件 TerrainEffect.h 第 32 行定义.
类成员变量说明
◆ exponent
| float eve::procgen::TerrainRidgeSettings::exponent = 16 |
在文件 TerrainEffect.h 第 33 行定义.
◆ maximum
| float eve::procgen::TerrainRidgeSettings::maximum = 0.5F |
在文件 TerrainEffect.h 第 34 行定义.
◆ minimum
| float eve::procgen::TerrainRidgeSettings::minimum = 0 |
在文件 TerrainEffect.h 第 34 行定义.
◆ mixStrength
| float eve::procgen::TerrainRidgeSettings::mixStrength = 0.5F |
在文件 TerrainEffect.h 第 33 行定义.
◆ passes
| int eve::procgen::TerrainRidgeSettings::passes = 18 |
在文件 TerrainEffect.h 第 35 行定义.
◆ strength
| float eve::procgen::TerrainRidgeSettings::strength = 1 |
在文件 TerrainEffect.h 第 33 行定义.
该结构体的文档由以下文件生成:
- src/modules/procgen/heightmap/TerrainEffect.h