diff options
author | Graham Linden <graham@lindenlab.com> | 2013-06-19 12:59:56 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-06-19 12:59:56 -0700 |
commit | e71b415841278f3719ff49b5c84969c64444d586 (patch) | |
tree | bde51c2c6191a7828b3722a167b7be201d4f5bed /indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl | |
parent | edbacfa108ad55da7f852e401271eb5893e1dab9 (diff) | |
parent | 6c061ae4fd3c5de9a73035855180df2b26dae3dd (diff) |
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/deferred/pointLightV.glsl | 2 |
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; |