diff options
author | Oz Linden <oz@lindenlab.com> | 2013-07-01 10:12:33 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-07-01 10:12:33 -0400 |
commit | cdedd9356abd47b13f958f4c4a90d6c09c30d21e (patch) | |
tree | 30a29109f15c05358ef552c0c46a89591db4546a /indra/newview/app_settings/shaders/class2/deferred | |
parent | 743b6ca6177f46d7d7f964993ee226ef6706d408 (diff) | |
parent | 21b78d7368f969fdf0daf7994fb565da633b1e71 (diff) |
merge changes for latest project integration repo
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rwxr-xr-x | indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl | 4 | ||||
-rwxr-xr-x | indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl index 0deb4fe3b6..14f6afc8c2 100755 --- a/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl @@ -318,6 +318,10 @@ void main() } } + + //not sure why, but this line prevents MATBUG-194 + col = max(col, vec3(0.0)); + frag_color.rgb = col; frag_color.a = 0.0; } diff --git a/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl index 7a4337c277..6e0218cb9c 100755 --- a/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/spotLightF.glsl @@ -315,7 +315,10 @@ void main() } } } - + + //not sure why, but this line prevents MATBUG-194 + col = max(col, vec3(0.0)); + frag_color.rgb = col; frag_color.a = 0.0; } |