aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl
diff options
context:
space:
mode:
authorRobin Cornelius2010-10-10 21:53:54 +0100
committerRobin Cornelius2010-10-10 21:53:54 +0100
commitc0034c520c6e61b64822e276316651ec6912bd98 (patch)
tree910442027b6a2c1406d80ca93949755b54badf5c /linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl
parentUse all those cores for compile (diff)
parentThickbrick Sleaford, Soft Linden: STORM-164 make gcc-4.4 happy about llvosky.h (diff)
downloadmeta-impy-c0034c520c6e61b64822e276316651ec6912bd98.zip
meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.tar.gz
meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.tar.bz2
meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.tar.xz
Merge branch 'mccabe-plugins' into plugins_merge
Conflicts: linden/doc/contributions.txt linden/indra/cmake/GStreamer.cmake linden/indra/cmake/LLMedia.cmake linden/indra/cmake/OPENAL.cmake linden/indra/llmedia/CMakeLists.txt linden/indra/llprimitive/material_codes.h linden/indra/newview/chatbar_as_cmdline.cpp linden/indra/newview/llappviewer.cpp linden/indra/newview/llfloatertos.cpp linden/indra/newview/llstartup.cpp linden/indra/newview/llviewerwindow.cpp linden/indra/newview/llvoavatar.cpp linden/indra/newview/pipeline.cpp linden/indra/newview/pipeline.h linden/indra/newview/viewer_manifest.py linden/install.xml
Diffstat (limited to 'linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl')
-rw-r--r--linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl8
1 files changed, 3 insertions, 5 deletions
diff --git a/linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl b/linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl
index a8712bc..1c29dae 100644
--- a/linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl
+++ b/linden/indra/newview/app_settings/shaders/class1/deferred/bumpF.glsl
@@ -11,7 +11,6 @@ uniform sampler2D bumpMap;
11varying vec3 vary_mat0; 11varying vec3 vary_mat0;
12varying vec3 vary_mat1; 12varying vec3 vary_mat1;
13varying vec3 vary_mat2; 13varying vec3 vary_mat2;
14varying vec4 vary_position;
15 14
16void main() 15void main()
17{ 16{
@@ -22,8 +21,7 @@ void main()
22 dot(norm,vary_mat1), 21 dot(norm,vary_mat1),
23 dot(norm,vary_mat2)); 22 dot(norm,vary_mat2));
24 23
25 gl_FragData[0].rgb = gl_Color.rgb*col; 24 gl_FragData[0] = vec4(gl_Color.rgb*col, 0.0);
26 gl_FragData[1] = vec4(col*(gl_Color.a*1.5), gl_Color.a); 25 gl_FragData[1] = vec4(col*gl_Color.a, gl_Color.a);
27 gl_FragData[2] = vec4(normalize(tnorm), 0.0); 26 gl_FragData[2] = vec4(normalize(tnorm)*0.5+0.5, 0.0);
28 gl_FragData[3] = vary_position;
29} 27}