diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-04-04 12:29:36 -0500 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-04-04 12:29:36 -0500 | 
| commit | 499a43df65a49fd667fb666015b8900a4fd6aa6b (patch) | |
| tree | 8f4137a185bfb5800543d438e64183430bbe658a /indra | |
| parent | c3726f4f15d12259424cbc2b974d638bc3a7e79c (diff) | |
Light the navmesh
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/pipeline.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 5f0a47f11d..6f75c09803 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4330,12 +4330,14 @@ void LLPipeline::renderDebug()  				if (pathfindingConsole->isShown())  				{ +					F32 ambiance = gSavedSettings.getF32("PathfindingAmbiance"); +  					if (LLGLSLShader::sNoFixedFunction)  					{  						gPathfindingProgram.bind();  						gPathfindingProgram.uniform1f("tint", 1.f); -						gPathfindingProgram.uniform1f("ambiance", 1.f); +						gPathfindingProgram.uniform1f("ambiance", ambiance);  						gPathfindingProgram.uniform1f("alpha_scale", 1.f);  					} @@ -4413,8 +4415,6 @@ void LLPipeline::renderDebug()  							LLGLEnable blend(GL_BLEND);  							{ -								F32 ambiance = gSavedSettings.getF32("PathfindingAmbiance"); -  								gPathfindingProgram.uniform1f("ambiance", ambiance);  								{ //draw solid overlay | 
