Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionNoise.h |
Include |
#include "Materials/MaterialExpressionNoise.h" |
enum ENoiseFunction
{
NOISEFUNCTION_SimplexTex,
NOISEFUNCTION_GradientTex,
NOISEFUNCTION_GradientTex3D,
NOISEFUNCTION_GradientALU,
NOISEFUNCTION_ValueALU,
NOISEFUNCTION_VoronoiALU,
NOISEFUNCTION_MAX,
}
Name |
Description |
---|---|
NOISEFUNCTION_SimplexTex |
High quality for direct use and bumps ~77 instructions per level, 4 texture lookups Cannot tile |
NOISEFUNCTION_GradientTex |
High quality for direct use and bumps Non-tiled: ~61 instructions per level, 8 texture lookups Tiling: ~74 instructions per level, 8 texture lookups Even "non-tiled" mode has a repeat of 128. |
NOISEFUNCTION_GradientTex3D |
High quality for direct use, BAD for bumps; doesn't work on Mobile ~16 instructions per level, 1 texture lookup Always tiles with a repeat of 16, "Tiling" mode is not an option for Fast Gradient noise |
NOISEFUNCTION_GradientALU |
High quality for direct use and bumps Non-tiled: ~80 instructions per level, no textures Tiling: ~143 instructions per level, no textures |
NOISEFUNCTION_ValueALU |
Low quality, but pure computation Non-tiled: ~53 instructions per level, no textures Tiling: ~118 instructions per level, no textures Formerly mis-labeled as Gradient noise |
NOISEFUNCTION_VoronoiALU |
Also known as Worley or Cellular noise Quality=1 searches 8 cells, Quality=2 searches 16 cells Quality=3 searches 27 cells, Quality=4 searches 32 cells All are about 20 instructions per cell searched |
NOISEFUNCTION_MAX |