diff options
author | Merov Linden <merov@lindenlab.com> | 2012-06-08 17:29:56 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-06-08 17:29:56 -0700 |
commit | ac6f0304c51b6b8c8e4414ff1bc254be78f0845d (patch) | |
tree | 0b211c8c84ff92e6cdbeeb8d0197314e4821a60c /indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | |
parent | 1aba6c119ef05a4cfd91325c8455dc8c60098746 (diff) | |
parent | cdb57cb299097b203581a6ef99840350831c321c (diff) |
Merge pull from richard/viewer-chui
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl index c012efa056..dd87ddb330 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl @@ -26,15 +26,15 @@ #extension GL_ARB_texture_rectangle : enable #ifdef DEFINE_GL_FRAGCOLOR -out vec4 gl_FragColor; +out vec4 frag_color; +#else +#define frag_color gl_FragColor #endif uniform sampler2DRect depthMap; vec4 diffuseLookup(vec2 texcoord); -uniform mat4 shadow_matrix[6]; -uniform vec4 shadow_clip; uniform vec2 screen_res; vec3 atmosLighting(vec3 light); @@ -69,6 +69,6 @@ void main() color.rgb += diff.rgb * vary_pointlight_col.rgb; - gl_FragColor = color; + frag_color = color; } |