@@ -629,7 +629,7 @@ void ShowFieldModule::renderFacesLinear(
629629 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
630630 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
631631 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
632- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
632+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
633633 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
634634 }
635635 else
@@ -649,7 +649,7 @@ void ShowFieldModule::renderFacesLinear(
649649 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
650650 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
651651 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
652- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
652+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
653653 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
654654 }
655655 else
@@ -680,7 +680,7 @@ void ShowFieldModule::renderFacesLinear(
680680 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
681681 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
682682 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
683- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
683+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
684684 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
685685 }
686686 else
@@ -699,7 +699,7 @@ void ShowFieldModule::renderFacesLinear(
699699 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
700700 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
701701 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
702- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
702+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
703703 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
704704 }
705705 else
@@ -719,7 +719,7 @@ void ShowFieldModule::renderFacesLinear(
719719 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
720720 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
721721 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
722- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
722+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
723723 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
724724
725725 if (state.get (RenderState::USE_TRANSPARENCY))
@@ -1262,7 +1262,7 @@ void ShowFieldModule::renderNodes(
12621262 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
12631263 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
12641264 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
1265- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
1265+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
12661266 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
12671267 }
12681268 else
@@ -1295,7 +1295,7 @@ void ShowFieldModule::renderNodes(
12951295 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uAmbientColor" ,
12961296 glm::vec4 (0 .1f , 0 .1f , 0 .1f , 1 .0f )));
12971297 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
1298- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
1298+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
12991299 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
13001300
13011301 if (state.get (RenderState::USE_TRANSPARENCY))
@@ -1447,7 +1447,7 @@ void ShowFieldModule::renderEdges(
14471447 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uDiffuseColor" ,
14481448 glm::vec4 (dft.r (), dft.g (), dft.b (), 1 .0f )));
14491449 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
1450- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
1450+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
14511451 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
14521452 }
14531453 else {
@@ -1463,7 +1463,7 @@ void ShowFieldModule::renderEdges(
14631463 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uDiffuseColor" ,
14641464 glm::vec4 (dft.r (), dft.g (), dft.b (), 1 .0f )));
14651465 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularColor" ,
1466- glm::vec4 (1 . 0f , 1 . 0f , 1 . 0f , 1 . 0f )));
1466+ glm::vec4 (0 . 1f , 0 . 1f , 0 . 1f , 0 . 1f )));
14671467 uniforms.push_back (GeometryObject::SpireSubPass::Uniform (" uSpecularPower" , 32 .0f ));
14681468 }
14691469 GeometryObject::SpireIBO::PRIMITIVE primIn = GeometryObject::SpireIBO::LINES;
0 commit comments