diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-04 00:45:28 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-04 00:45:28 -0500 |
commit | eb283701afc7ecbe3009a9fb75be1dcb222a383b (patch) | |
tree | ffd5490ac1ee3706f70884eb3d582ed4bb006505 /indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl | |
parent | 58defe76b0eed6f773b961e8ba5cd3aeb856467a (diff) |
Deferred pipeline integration of rigged attachments and cleanup.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl b/indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl index 650fbcc3f5..da1dafda36 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/avatarAlphaV.glsl @@ -17,7 +17,7 @@ vec3 atmosAffectDirectionalLight(float lightIntensity); vec3 scaleDownLight(vec3 light); vec3 scaleUpLight(vec3 light); -varying vec4 vary_position; +varying vec3 vary_position; varying vec3 vary_ambient; varying vec3 vary_directional; varying vec3 vary_normal; @@ -41,7 +41,7 @@ void main() norm = normalize(norm); gl_Position = gl_ProjectionMatrix * pos; - vary_position = pos; + vary_position = pos.xyz; vary_normal = norm; calcAtmospherics(pos.xyz); |