summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-06-19 12:59:56 -0700
committerGraham Linden <graham@lindenlab.com>2013-06-19 12:59:56 -0700
commite71b415841278f3719ff49b5c84969c64444d586 (patch)
treebde51c2c6191a7828b3722a167b7be201d4f5bed /indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl
parentedbacfa108ad55da7f852e401271eb5893e1dab9 (diff)
parent6c061ae4fd3c5de9a73035855180df2b26dae3dd (diff)
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl b/indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl
index 9491421236..a5625fbc16 100755
--- a/indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl
@@ -37,7 +37,7 @@ VARYING vec3 trans_center;
void main()
{
//transform vertex
- vec3 p = position*sqrt(size)+center;
+ vec3 p = position*size+center;
vec4 pos = modelview_projection_matrix * vec4(p.xyz, 1.0);
vary_fragcoord = pos;
trans_center = (modelview_matrix*vec4(center.xyz, 1.0)).xyz;