aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl')
-rw-r--r--linden/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl60
1 files changed, 60 insertions, 0 deletions
diff --git a/linden/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl b/linden/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
new file mode 100644
index 0000000..b528837
--- /dev/null
+++ b/linden/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
@@ -0,0 +1,60 @@
1/**
2 * @file atmosphericVars.glsl
3 *
4 * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
5 * $License$
6 */
7
8varying vec3 vary_PositionEye;
9
10varying vec3 vary_SunlitColor;
11varying vec3 vary_AmblitColor;
12varying vec3 vary_AdditiveColor;
13varying vec3 vary_AtmosAttenuation;
14
15vec3 getPositionEye()
16{
17 return vary_PositionEye;
18}
19vec3 getSunlitColor()
20{
21 return vary_SunlitColor;
22}
23vec3 getAmblitColor()
24{
25 return vary_AmblitColor;
26}
27vec3 getAdditiveColor()
28{
29 return vary_AdditiveColor;
30}
31vec3 getAtmosAttenuation()
32{
33 return vary_AtmosAttenuation;
34}
35
36
37void setPositionEye(vec3 v)
38{
39 vary_PositionEye = v;
40}
41
42void setSunlitColor(vec3 v)
43{
44 vary_SunlitColor = v;
45}
46
47void setAmblitColor(vec3 v)
48{
49 vary_AmblitColor = v;
50}
51
52void setAdditiveColor(vec3 v)
53{
54 vary_AdditiveColor = v;
55}
56
57void setAtmosAttenuation(vec3 v)
58{
59 vary_AtmosAttenuation = v;
60}