/
glass-effect.xml
60 lines (52 loc) · 1.27 KB
/
glass-effect.xml
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
<?xml version="1.0"?>
<!-- Copyright (c) 2024 Josh Davidson (Octal450) -->
<system name="glass-effect">
<channel name="Rain" execrate="2">
<fcs_function name="glass-effects/splashx">
<function>
<table>
<independentVar lookup="row">velocities/u-aero-fps</independentVar>
<tableData>
0 0.01
7 0.01
8 -0.01
25 -0.50
50 -1.20
120 -2.00
</tableData>
</table>
</function>
<output>/environment/aircraft-effects/splash-vector-x</output>
</fcs_function>
<fcs_function name="glass-effects/splashy">
<function>
<table>
<independentVar lookup="row">velocities/v-aero-fps</independentVar>
<tableData>
-25 -0.5
-8 0.0
8 0.0
25 0.5
</tableData>
</table>
</function>
<output>/environment/aircraft-effects/splash-vector-y</output>
</fcs_function>
<fcs_function name="glass-effects/splashz">
<function>
<table>
<independentVar lookup="row">velocities/u-aero-fps</independentVar>
<tableData>
0 1.2
7 1.2
8 0.9
25 0.9
50 -0.2
120 -0.5
</tableData>
</table>
</function>
<output>/environment/aircraft-effects/splash-vector-z</output>
</fcs_function>
</channel>
</system>