source: OGRE/trunk/ogrenew/Samples/Media/materials/scripts/Ocean.controls @ 692

Revision 692, 4.0 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

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