diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-10 13:01:20 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-10 13:01:20 -0500 |
commit | ee7c2396e24a81295cc1665a38845a41a2b81e23 (patch) | |
tree | b80a5b59403008f8ae68e888302a8c8923d7a750 /indra/newview/app_settings/shaders/class2/deferred | |
parent | 33c4d124ce60b2999efb73fc17dc996cb3c2a103 (diff) | |
parent | 49579bebdd274a88c2381c4cab3d09ecd393564d (diff) |
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-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 f8dd1b7431..de423ee22a 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); } |