diff options
Diffstat (limited to 'linden/indra/newview/app_settings/shaders/class1/environment/scatterF.glsl')
-rw-r--r-- | linden/indra/newview/app_settings/shaders/class1/environment/scatterF.glsl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/linden/indra/newview/app_settings/shaders/class1/environment/scatterF.glsl b/linden/indra/newview/app_settings/shaders/class1/environment/scatterF.glsl deleted file mode 100644 index 3aa44de..0000000 --- a/linden/indra/newview/app_settings/shaders/class1/environment/scatterF.glsl +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | uniform sampler2D scatterMap; | ||
2 | |||
3 | //for per-pixel scatter | ||
4 | vec4 getScatter(vec3 viewVec, vec3 lightDir) | ||
5 | { | ||
6 | return gl_TexCoord[5]; | ||
7 | } | ||
8 | |||
9 | void applyScatter(inout vec3 color) | ||
10 | { | ||
11 | color = gl_TexCoord[5].a*color + (1.0-gl_TexCoord[5].a) * gl_TexCoord[5].rgb; | ||
12 | } | ||
13 | |||
14 | void applyScatter(inout vec3 color, vec4 haze) | ||
15 | { | ||
16 | color.rgb = haze.rgb + haze.a * color.rgb; | ||
17 | } | ||