diff options
author | Geenz <geenz@geenzo.com> | 2013-06-19 15:47:57 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-06-19 15:47:57 -0400 |
commit | 9c83d4b5b88a927c4365154663b1809a450ccb98 (patch) | |
tree | d59d9d5c0e42058e09d73f4ca1c04f47ee55db6c /indra/newview/app_settings/shaders/class1/transform/binormalV.glsl | |
parent | 72159fd03ea02422e3c6acfbed9221a5326a9cc0 (diff) | |
parent | 2655c7a17ae38a073dcf8f05b0127b68edc34c95 (diff) |
Merge with viewer-release.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/transform/binormalV.glsl')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/transform/binormalV.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl b/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl index 44f1aa34a0..449d8d8b4e 100755 --- a/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl +++ b/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl @@ -25,12 +25,12 @@ uniform mat3 normal_matrix; -ATTRIBUTE vec3 binormal; +ATTRIBUTE vec4 tangent; -VARYING vec4 binormal_out; +VARYING vec4 tangent_out; void main() { - binormal_out = vec4(normal_matrix * binormal, 0.0); + tangent_out = vec4(normal_matrix * tangent.xyz), tangent.w); } |