-
Notifications
You must be signed in to change notification settings - Fork 115
/
PQSOceanSurfaceQuadLoader.cs
executable file
·292 lines (256 loc) · 9.19 KB
/
PQSOceanSurfaceQuadLoader.cs
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
// Material wrapper generated by shader translator tool
using System;
using Kopernicus.MaterialWrapper;
using UnityEngine;
namespace Kopernicus
{
namespace Configuration
{
[RequireConfigType(ConfigType.Node)]
public class PQSOceanSurfaceQuadLoader : PQSOceanSurfaceQuad
{
// Main Color, default = (1,1,1,1)
[ParserTarget("color")]
public ColorParser colorSetter
{
get { return color; }
set { color = value; }
}
// Color From Space, default = (1,1,1,1)
[ParserTarget("colorFromSpace")]
public ColorParser colorFromSpaceSetter
{
get { return colorFromSpace; }
set { colorFromSpace = value; }
}
// Specular Color, default = (1,1,1,1)
[ParserTarget("specColor")]
public ColorParser specColorSetter
{
get { return specColor; }
set { specColor = value; }
}
// Shininess, default = 0.078125
[ParserTarget("shininess")]
public NumericParser<Single> shininessSetter
{
get { return shininess; }
set { shininess = value; }
}
// Gloss, default = 0.078125
[ParserTarget("gloss")]
public NumericParser<Single> glossSetter
{
get { return gloss; }
set { gloss = value; }
}
// Tex Tiling, default = 1
[ParserTarget("tiling")]
public NumericParser<Single> tilingSetter
{
get { return tiling; }
set { tiling = value; }
}
// Tex0, default = "white" { }
[ParserTarget("waterTex")]
public Texture2DParser waterTexSetter
{
get { return waterTex; }
set { waterTex = value; }
}
[ParserTarget("waterTexScale")]
private Vector2Parser waterTexScaleSetter
{
get { return waterTexScale; }
set { waterTexScale = value; }
}
[ParserTarget("waterTexOffset")]
private Vector2Parser waterTexOffsetSetter
{
get { return waterTexOffset; }
set { waterTexOffset = value; }
}
// Tex1, default = "white" { }
[ParserTarget("waterTex1")]
public Texture2DParser waterTex1Setter
{
get { return waterTex1; }
set { waterTex1 = value; }
}
[ParserTarget("waterTex1Scale")]
private Vector2Parser waterTex1ScaleSetter
{
get { return waterTex1Scale; }
set { waterTex1Scale = value; }
}
[ParserTarget("waterTex1Offset")]
private Vector2Parser waterTex1OffsetSetter
{
get { return waterTex1Offset; }
set { waterTex1Offset = value; }
}
// Normal Tiling, default = 1
[ParserTarget("bTiling")]
public NumericParser<Single> bTilingSetter
{
get { return bTiling; }
set { bTiling = value; }
}
// Normalmap0, default = "bump" { }
[ParserTarget("bumpMap")]
public Texture2DParser bumpMapSetter
{
get { return bumpMap; }
set { bumpMap = value; }
}
[ParserTarget("bumpMapScale")]
private Vector2Parser bumpMapScaleSetter
{
get { return bumpMapScale; }
set { bumpMapScale = value; }
}
[ParserTarget("bumpMapOffset")]
private Vector2Parser bumpMapOffsetSetter
{
get { return bumpMapOffset; }
set { bumpMapOffset = value; }
}
// Water Movement, default = 1
[ParserTarget("displacement")]
public NumericParser<Single> displacementSetter
{
get { return displacement; }
set { displacement = value; }
}
// Texture Displacement, default = 1
[ParserTarget("texDisplacement")]
public NumericParser<Single> texDisplacementSetter
{
get { return texDisplacement; }
set { texDisplacement = value; }
}
// Water Freq, default = 1
[ParserTarget("dispFreq")]
public NumericParser<Single> dispFreqSetter
{
get { return dispFreq; }
set { dispFreq = value; }
}
// Mix, default = 1
[ParserTarget("mix")]
public NumericParser<Single> mixSetter
{
get { return mix; }
set { mix = value; }
}
// Opacity, default = 1
[ParserTarget("oceanOpacity")]
public NumericParser<Single> oceanOpacitySetter
{
get { return oceanOpacity; }
set { oceanOpacity = value; }
}
// Falloff Power, default = 1
[ParserTarget("falloffPower")]
public NumericParser<Single> falloffPowerSetter
{
get { return falloffPower; }
set { falloffPower = value; }
}
// Falloff Exp, default = 2
[ParserTarget("falloffExp")]
public NumericParser<Single> falloffExpSetter
{
get { return falloffExp; }
set { falloffExp = value; }
}
// AP Fog Color, default = (0,0,1,1)
[ParserTarget("fogColor")]
public ColorParser fogColorSetter
{
get { return fogColor; }
set { fogColor = value; }
}
// AP Height Fall Off, default = 1
[ParserTarget("heightFallOff")]
public NumericParser<Single> heightFallOffSetter
{
get { return heightFallOff; }
set { heightFallOff = value; }
}
// AP Global Density, default = 1
[ParserTarget("globalDensity")]
public NumericParser<Single> globalDensitySetter
{
get { return globalDensity; }
set { globalDensity = value; }
}
// AP Atmosphere Depth, default = 1
[ParserTarget("atmosphereDepth")]
public NumericParser<Single> atmosphereDepthSetter
{
get { return atmosphereDepth; }
set { atmosphereDepth = value; }
}
// FogColorRamp, default = "white" { }
[ParserTarget("fogColorRamp")]
public Texture2DParser fogColorRampSetter
{
get { return fogColorRamp; }
set { fogColorRamp = value; }
}
[ParserTarget("fogColorRampScale")]
private Vector2Parser fogColorRampScaleSetter
{
get { return fogColorRampScale; }
set { fogColorRampScale = value; }
}
[ParserTarget("fogColorRampOffset")]
private Vector2Parser fogColorRampOffsetSetter
{
get { return fogColorRampOffset; }
set { fogColorRampOffset = value; }
}
// FadeStart, default = 1
[ParserTarget("fadeStart")]
public NumericParser<Single> fadeStartSetter
{
get { return fadeStart; }
set { fadeStart = value; }
}
// FadeEnd, default = 1
[ParserTarget("fadeEnd")]
public NumericParser<Single> fadeEndSetter
{
get { return fadeEnd; }
set { fadeEnd = value; }
}
// PlanetOpacity, default = 1
[ParserTarget("planetOpacity")]
public NumericParser<Single> planetOpacitySetter
{
get { return planetOpacity; }
set { planetOpacity = value; }
}
// NormalXYFudge, default = 0.1
[ParserTarget("normalXYFudge")]
public NumericParser<Single> normalXYFudgeSetter
{
get { return normalXYFudge; }
set { normalXYFudge = value; }
}
// NormalZFudge, default = 1.1
[ParserTarget("normalZFudge")]
public NumericParser<Single> normalZFudgeSetter
{
get { return normalZFudge; }
set { normalZFudge = value; }
}
// Constructors
public PQSOceanSurfaceQuadLoader () : base() { }
[Obsolete("Creating materials from shader source String is no longer supported. Use Shader assets instead.")]
public PQSOceanSurfaceQuadLoader (String contents) : base (contents) { }
public PQSOceanSurfaceQuadLoader (Material material) : base(material) { }
}
}
}