Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Samples/Media/materials/scripts/Ocean.controls @ 5

Last change on this file since 5 was 5, checked in by anonymous, 17 years ago

=hoffentlich gehts jetzt

File size: 4.1 KB
Line 
1[1. Ocean2 Cg]
2material = Ocean2_Cg
3control = Wavelet Scale, BumpScale, GPU_VERTEX, 0, 2, 0
4control = Texture Scale X, textureScale, GPU_VERTEX, 0, 40, 0
5control = Texture Scale Y, textureScale, GPU_VERTEX, 0, 40, 1
6control = Wavelet Speed X, bumpSpeed, GPU_VERTEX, -0.1, 0.1, 0
7control = Wavelet Speed Y, bumpSpeed, GPU_VERTEX, -0.1, 0.1, 1
8control = Wave Frequency, waveFreq, GPU_VERTEX, 0, 0.05, 0
9control = Wave Amplitude, waveAmp, GPU_VERTEX, 0, 25, 0
10
11control = Deep Color [Red], deepColor, GPU_FRAGMENT, 0, 1, 0
12control = Deep Color [Green], deepColor, GPU_FRAGMENT, 0, 1, 1
13control = Deep Color [Blue], deepColor, GPU_FRAGMENT, 0, 1, 2
14
15control = Shallow Color [Red], shallowColor, GPU_FRAGMENT, 0, 1, 0
16control = Shallow Color [Green], shallowColor, GPU_FRAGMENT, 0, 1, 1
17control = Shallow Color [Blue], shallowColor, GPU_FRAGMENT, 0, 1, 2
18
19control = Reflection Color [Red], reflectionColor, GPU_FRAGMENT, 0, 1, 0
20control = Reflection Color [Green], reflectionColor, GPU_FRAGMENT, 0, 1, 1
21control = Reflection Color [Blue], reflectionColor, GPU_FRAGMENT, 0, 1, 2
22
23control = Reflection Amount, reflectionAmount, GPU_FRAGMENT, 0, 1, 0
24control = Reflection Blur, reflectionBlur, GPU_FRAGMENT, 0, 8, 0
25control = Water Amount, waterAmount, GPU_FRAGMENT, 0, 1, 0
26control = Fresnel Power, fresnelPower, GPU_FRAGMENT, 0, 10, 0
27control = Fresnel Bias, fresnelBias, GPU_FRAGMENT, 0, 1, 0
28control = HDR Mulitplier, hdrMultiplier, GPU_FRAGMENT, 0, 2, 0
29
30[1a. Ocean2 HLSL/GLSL]
31material = Ocean2_HLSL_GLSL
32control = Wavelet Scale, BumpScale, GPU_VERTEX, 0, 2, 0
33control = Texture Scale X, textureScale, GPU_VERTEX, 0, 40, 0
34control = Texture Scale Y, textureScale, GPU_VERTEX, 0, 40, 1
35control = Wavelet Speed X, bumpSpeed, GPU_VERTEX, -0.1, 0.1, 0
36control = Wavelet Speed Y, bumpSpeed, GPU_VERTEX, -0.1, 0.1, 1
37control = Wave Frequency, waveFreq, GPU_VERTEX, 0, 0.05, 0
38control = Wave Amplitude, waveAmp, GPU_VERTEX, 0, 25, 0
39
40control = Deep Color [Red], deepColor, GPU_FRAGMENT, 0, 1, 0
41control = Deep Color [Green], deepColor, GPU_FRAGMENT, 0, 1, 1
42control = Deep Color [Blue], deepColor, GPU_FRAGMENT, 0, 1, 2
43
44control = Shallow Color [Red], shallowColor, GPU_FRAGMENT, 0, 1, 0
45control = Shallow Color [Green], shallowColor, GPU_FRAGMENT, 0, 1, 1
46control = Shallow Color [Blue], shallowColor, GPU_FRAGMENT, 0, 1, 2
47
48control = Reflection Color [Red], reflectionColor, GPU_FRAGMENT, 0, 1, 0
49control = Reflection Color [Green], reflectionColor, GPU_FRAGMENT, 0, 1, 1
50control = Reflection Color [Blue], reflectionColor, GPU_FRAGMENT, 0, 1, 2
51
52control = Reflection Amount, reflectionAmount, GPU_FRAGMENT, 0, 1, 0
53control = Reflection Blur, reflectionBlur, GPU_FRAGMENT, 0, 8, 0
54control = Water Amount, waterAmount, GPU_FRAGMENT, 0, 1, 0
55control = Fresnel Power, fresnelPower, GPU_FRAGMENT, 0, 10, 0
56control = Fresnel Bias, fresnelBias, GPU_FRAGMENT, 0, 1, 0
57control = HDR Mulitplier, hdrMultiplier, GPU_FRAGMENT, 0, 2, 0
58
59[2. Ocean1 HLSL/GLSL]
60material = OceanHLSL_GLSL
61control = scale x, scale, GPU_VERTEX, 0, 0.1, 0
62control = scale y, scale, GPU_VERTEX, 0, 0.1, 1
63control = scale z, scale, GPU_VERTEX, 0, 0.1, 2
64control = Wave Speed X, waveSpeed, GPU_VERTEX, 0, 1, 0
65control = Wave Speed Y, waveSpeed, GPU_VERTEX, 0, 1, 1
66control = Noise Speed, noiseSpeed, GPU_VERTEX, 0, 1, 0
67
68control = Fade Bias, fadeBias, GPU_FRAGMENT, 0, 1, 0
69control = Fade Exponent, fadeExp, GPU_FRAGMENT, 0, 20, 0
70control = Water Color (r), waterColor, GPU_FRAGMENT, 0, 1, 0
71control = Water Color (g), waterColor, GPU_FRAGMENT, 0, 1, 1
72control = Water Color (b), waterColor, GPU_FRAGMENT, 0, 1, 2
73
74[3. Ocean1 Cg]
75material = OceanCg
76control = scale x, scale, GPU_VERTEX, 0, 0.1, 0
77control = scale y, scale, GPU_VERTEX, 0, 0.1, 1
78control = scale z, scale, GPU_VERTEX, 0, 0.1, 2
79control = Wave Speed X, waveSpeed, GPU_VERTEX, 0, 1, 0
80control = Wave Speed Y, waveSpeed, GPU_VERTEX, 0, 1, 1
81control = Noise Speed, noiseSpeed, GPU_VERTEX, 0, 1, 0
82
83control = Fade Bias, fadeBias, GPU_FRAGMENT, 0, 1, 0
84control = Fade Exponent, fadeExp, GPU_FRAGMENT, 0, 20, 0
85control = Water Color (r), waterColor, GPU_FRAGMENT, 0, 1, 0
86control = Water Color (g), waterColor, GPU_FRAGMENT, 0, 1, 1
87control = Water Color (b), waterColor, GPU_FRAGMENT, 0, 1, 2
88
89
90
Note: See TracBrowser for help on using the repository browser.