summaryrefslogtreecommitdiffstats
path: root/globals.cginc
blob: 2ce282b775d890ea2c316150878b618f952c79dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#ifndef __GLOBALS_INC
#define __GLOBALS_INC

#include "features.cginc"

SamplerState point_repeat_s;
SamplerState linear_repeat_s;
SamplerState bilinear_repeat_s;
SamplerState linear_clamp_s;
SamplerState trilinear_repeat_s;

float4 _Color;
int _Mode;

float _Smoothness;
float _Metallic;

float _Specular_AA_Variance;
float _Specular_AA_Threshold;
float _BRDF_Specular_Min_Denom;

#if defined(_SEA_FX)
float _Sea_FX_Derivatives_SS_Filtering_Factor;
#endif

#if defined(_SEA_FX_HEIGHTMAPS_Y_0)
texture2D _Sea_FX_Heightmaps_Y_0;
float4 _Sea_FX_Heightmaps_Y_0_ST;
#endif
#if defined(_SEA_FX_HEIGHTMAPS_Y_1)
texture2D _Sea_FX_Heightmaps_Y_1;
float4 _Sea_FX_Heightmaps_Y_1_ST;
#endif
#if defined(_SEA_FX_HEIGHTMAPS_Y_2)
texture2D _Sea_FX_Heightmaps_Y_2;
float4 _Sea_FX_Heightmaps_Y_2_ST;
#endif
#if defined(_SEA_FX_HEIGHTMAPS_Y_3)
texture2D _Sea_FX_Heightmaps_Y_3;
float4 _Sea_FX_Heightmaps_Y_3_ST;
#endif

#if defined(_SEA_FX_HEIGHTMAPS_XZ_0)
texture2D _Sea_FX_Heightmaps_XZ_0;
float4 _Sea_FX_Heightmaps_XZ_0_ST;
#endif
#if defined(_SEA_FX_HEIGHTMAPS_XZ_1)
texture2D _Sea_FX_Heightmaps_XZ_1;
float4 _Sea_FX_Heightmaps_XZ_1_ST;
#endif
#if defined(_SEA_FX_HEIGHTMAPS_XZ_2)
texture2D _Sea_FX_Heightmaps_XZ_2;
float4 _Sea_FX_Heightmaps_XZ_2_ST;
#endif
#if defined(_SEA_FX_HEIGHTMAPS_XZ_3)
texture2D _Sea_FX_Heightmaps_XZ_3;
float4 _Sea_FX_Heightmaps_XZ_3_ST;
#endif

#if defined(_SEA_FX_VERTICAL_DERIVATIVES_0)
texture2D _Sea_FX_Vertical_Derivatives_0;
float4 _Sea_FX_Vertical_Derivatives_0_ST;
#endif
#if defined(_SEA_FX_HORIZONTAL_DERIVATIVES_0)
texture2D _Sea_FX_Horizontal_Derivatives_0;
float4 _Sea_FX_Horizontal_Derivatives_0_ST;
#endif
#if defined(_SEA_FX_VERTICAL_DERIVATIVES_1)
texture2D _Sea_FX_Vertical_Derivatives_1;
float4 _Sea_FX_Vertical_Derivatives_1_ST;
#endif
#if defined(_SEA_FX_HORIZONTAL_DERIVATIVES_1)
texture2D _Sea_FX_Horizontal_Derivatives_1;
float4 _Sea_FX_Horizontal_Derivatives_1_ST;
#endif
#if defined(_SEA_FX_VERTICAL_DERIVATIVES_2)
texture2D _Sea_FX_Vertical_Derivatives_2;
float4 _Sea_FX_Vertical_Derivatives_2_ST;
#endif
#if defined(_SEA_FX_HORIZONTAL_DERIVATIVES_2)
texture2D _Sea_FX_Horizontal_Derivatives_2;
float4 _Sea_FX_Horizontal_Derivatives_2_ST;
#endif
#if defined(_SEA_FX_VERTICAL_DERIVATIVES_3)
texture2D _Sea_FX_Vertical_Derivatives_3;
float4 _Sea_FX_Vertical_Derivatives_3_ST;
#endif
#if defined(_SEA_FX_HORIZONTAL_DERIVATIVES_3)
texture2D _Sea_FX_Horizontal_Derivatives_3;
float4 _Sea_FX_Horizontal_Derivatives_3_ST;
#endif

#if defined(_SEA_FOAM)
float4 _Sea_Foam_Color;
float _Sea_Foam_Roughness;
float _Sea_Foam_Bias;
#endif

#if defined(_SEA_SSS)
float4 _Sea_SSS_Color;
float _Sea_SSS_X_Amount;
float _Sea_SSS_Bias;
float _Sea_SSS_Factor;
float _Sea_SSS_Power;
float _Sea_SSS_LoV_Wrap;
#endif

#if defined(_TESSELLATION)
float _Tessellation_Factor;
float _Tessellation_Frustum_Culling_Bias;
float _Tessellation_Falloff_Factor;
#endif  // _TESSELLATION


#endif  // __GLOBALS_INC