diff options
author | Dave Parks <davep@lindenlab.com> | 2013-04-29 15:01:48 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-04-29 15:01:48 -0500 |
commit | ad9e30817411b373baf73e63653ad6d10661e35f (patch) | |
tree | d193aa0be0542346bd2ee18c7c75ee205130e5c1 /indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | |
parent | a8a3401d78058fb8fea68acfc96fbe61ebcbc358 (diff) |
NORSPEC-153 Workaround for AMD driver bug that doesn't like '\' on #define's
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl index fec79ebf62..737c658126 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl @@ -132,8 +132,7 @@ void main() color.rgb = scaleSoftClip(color.rgb); col = vec4(0,0,0,0); - #define LIGHT_LOOP(i) \ - col.rgb += light_diffuse[i].rgb * calcPointLightOrSpotLight(pos.xyz, normal, light_position[i], light_direction[i].xyz, light_attenuation[i].x, light_attenuation[i].y, light_attenuation[i].z); + #define LIGHT_LOOP(i) col.rgb += light_diffuse[i].rgb * calcPointLightOrSpotLight(pos.xyz, normal, light_position[i], light_direction[i].xyz, light_attenuation[i].x, light_attenuation[i].y, light_attenuation[i].z); LIGHT_LOOP(1) LIGHT_LOOP(2) |