From c5e3ace94de01ed61ed43284ea72dacec197cdc9 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Fri, 24 Jun 2022 14:15:24 -0500 Subject: SL-17274 Hook up albedo tint to pbropaqueF --- indra/newview/llface.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index d1ea5409ed..071e770811 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1384,6 +1384,11 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, LLColor4U color = tep->getColor(); + if (tep->getGLTFMaterial()) + { + color = tep->getGLTFMaterial()->mAlbedoColor; + } + if (rebuild_color) { //decide if shiny goes in alpha channel of color if (tep && -- cgit v1.2.3