summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-05-24 10:50:48 -0500
committerDave Parks <davep@lindenlab.com>2012-05-24 10:50:48 -0500
commitefda0814cbae7917fde634c5e245c81915b17a9c (patch)
treeb9557284c32016de2d4a32f484e66a8fcad47b2c /indra/newview/app_settings/shaders
parentf2c2b88033e912be00ba0c08bc7f074d6881d1d5 (diff)
MAINT-616 Fix for corrupted mipmaps. Cleanup based on code review feedback.
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r--indra/newview/app_settings/shaders/class1/transform/binormalV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl b/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl
index b4aab0f3ca..44f1aa34a0 100644
--- a/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl
+++ b/indra/newview/app_settings/shaders/class1/transform/binormalV.glsl
@@ -27,10 +27,10 @@ uniform mat3 normal_matrix;
ATTRIBUTE vec3 binormal;
-VARYING vec3 binormal_out;
+VARYING vec4 binormal_out;
void main()
{
- binormal_out = normal_matrix * binormal;
+ binormal_out = vec4(normal_matrix * binormal, 0.0);
}