diff options
author | Dave Parks <davep@lindenlab.com> | 2010-08-31 16:37:40 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-08-31 16:37:40 -0500 |
commit | e68f9e566b5aeb5341f5adea0b8a6ccde86ee93d (patch) | |
tree | 6454bf6b303d03f89e567a6ea9cfee7c85aaa1ac /indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl | |
parent | 3cabca8df62ae8ee815dd7d885f14f5a7d0ea98d (diff) | |
parent | 771195865c4fb336f573025e9a7a22313bfb6cb8 (diff) |
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl b/indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl index d7d1111ba8..2b2d40c2ce 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/avatarAlphaV.glsl @@ -21,6 +21,7 @@ varying vec3 vary_position; varying vec3 vary_ambient; varying vec3 vary_directional; varying vec3 vary_normal; +varying vec3 vary_fragcoord; uniform float near_clip; uniform float shadow_offset; @@ -77,7 +78,7 @@ void main() gl_FrontColor = col; gl_FogFragCoord = pos.z; - + vary_fragcoord.xyz = pos.xyz + vec3(0,0,near_clip); } |