DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
PPEGhost.c
См. документацию.
1
3{
4 //static const int PARAM_NOISE_TEX = 0; // changing texture not supported. Default '0xff000000'
5 static const int PARAM_NOISE_CHANNEL_WEIGHT = 1;
6 static const int PARAM_NOISE_OFFSET_X = 2;
7 static const int PARAM_NOISE_OFFSET_Y = 3;
8 static const int PARAM_NOISE_SCALE_X = 4;
9 static const int PARAM_NOISE_SCALE_Y = 5;
10 static const int PARAM_NOISE_REMAP_LO = 6;
11 static const int PARAM_NOISE_REMAP_HI = 7;
12
13 static const int PARAM_GHOST_OFFSET_X = 8;
14 static const int PARAM_GHOST_OFFSET_Y = 9;
15 static const int PARAM_GHOST_SCALE_X = 10;
16 static const int PARAM_GHOST_SCALE_Y = 11;
17 static const int PARAM_GHOST_COLOR_MOD = 12;
18
19 //layering info
20 static const int L_1_HMP = 100;
21 static const int L_2_HMP = 100;
22 static const int L_3_HMP = 100;
23 static const int L_4_HMP = 100;
24 static const int L_5_HMP = 100;
25 static const int L_6_HMP = 100;
26 static const int L_7_HMP = 100;
27 static const int L_8_HMP = 100;
28 static const int L_9_HMP = 100;
29
31 {
32 return PostProcessEffectType.Ghost;
33 }
34
35 override string GetDefaultMaterialPath()
36 {
37 return "Graphics/Materials/postprocess/ghost";
38 }
39
41 {
42 //RegisterParameterTexture(PARAM_NOISE_TEX,"NoiseMap","");
43 RegisterParameterColor(PARAM_NOISE_CHANNEL_WEIGHT,"NoiseChannelWeight",0,0,0,0);
44
45 RegisterParameterScalarFloat(PARAM_NOISE_OFFSET_X, "NoiseOffsetX", 0, 0, 1);
46 RegisterParameterScalarFloat(PARAM_NOISE_OFFSET_Y, "NoiseOffsetY", 0, 0, 1);
47 RegisterParameterScalarFloat(PARAM_NOISE_SCALE_X, "NoiseScaleX", 1, 0.0001, 100);
48 RegisterParameterScalarFloat(PARAM_NOISE_SCALE_Y, "NoiseScaleY", 1, 0.0001, 100);
49 RegisterParameterColor(PARAM_NOISE_REMAP_LO,"NoiseRemapLo",0,0,0,0);
50 RegisterParameterColor(PARAM_NOISE_REMAP_HI,"NoiseRemapHi",1,1,1,1);
51
52 RegisterParameterScalarFloat(PARAM_GHOST_OFFSET_X, "GhostOffsetX", 0, -200, 200);
53 RegisterParameterScalarFloat(PARAM_GHOST_OFFSET_Y, "GhostOffsetY", 0, -200, 200);
54 RegisterParameterScalarFloat(PARAM_GHOST_SCALE_X, "GhostScaleX", 1, 0.0001, 1);
55 RegisterParameterScalarFloat(PARAM_GHOST_SCALE_Y, "GhostScaleY", 1, 0.0001, 1);
56 RegisterParameterColor(PARAM_GHOST_COLOR_MOD,"GhostColorMod",1,1,1,0.5);
57
58 }
59}
void RegisterParameterScalarFloat(int idx, string parameter_name, float default_value, float min, float max)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
Определения PPEMatClassesBase.c:77
void RegisterParameterColor(int idx, string parameter_name, float r, float g, float b, float a)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
Определения PPEMatClassesBase.c:102
void PPEClassBase(string mat_path_override="")
Определения PPEMatClassesBase.c:14
override string GetDefaultMaterialPath()
Определения PPEGhost.c:35
static const int PARAM_NOISE_SCALE_X
Определения PPEGhost.c:8
static const int PARAM_GHOST_SCALE_X
Определения PPEGhost.c:15
static const int PARAM_GHOST_SCALE_Y
Определения PPEGhost.c:16
static const int L_2_HMP
Определения PPEGhost.c:21
static const int L_7_HMP
Определения PPEGhost.c:26
static const int PARAM_GHOST_COLOR_MOD
Определения PPEGhost.c:17
static const int L_8_HMP
Определения PPEGhost.c:27
static const int PARAM_NOISE_REMAP_HI
Определения PPEGhost.c:11
override int GetPostProcessEffectID()
Определения PPEGhost.c:30
static const int L_3_HMP
Определения PPEGhost.c:22
static const int L_9_HMP
Определения PPEGhost.c:28
static const int PARAM_NOISE_OFFSET_X
Определения PPEGhost.c:6
static const int L_5_HMP
Определения PPEGhost.c:24
static const int PARAM_GHOST_OFFSET_X
Определения PPEGhost.c:13
static const int PARAM_NOISE_OFFSET_Y
Определения PPEGhost.c:7
static const int L_1_HMP
RGB = per channel multiplication A = overall color curve (0=linear,1=exponential)
Определения PPEGhost.c:20
static const int PARAM_GHOST_OFFSET_Y
Определения PPEGhost.c:14
static const int PARAM_NOISE_SCALE_Y
Определения PPEGhost.c:9
override void RegisterMaterialParameters()
Определения PPEGhost.c:40
static const int PARAM_NOISE_CHANNEL_WEIGHT
Определения PPEGhost.c:5
static const int L_4_HMP
Определения PPEGhost.c:23
static const int L_6_HMP
Определения PPEGhost.c:25
static const int PARAM_NOISE_REMAP_LO
Определения PPEGhost.c:10
Ghost - PostProcessEffectType.Ghost.
Определения PPEGhost.c:3
PostProcessEffectType
Post-process effect type.
Определения EnWorld.c:72