diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-24 14:15:24 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-24 14:15:24 -0500 |
commit | c5e3ace94de01ed61ed43284ea72dacec197cdc9 (patch) | |
tree | e7c66f3c066c62bf54a6ac62da7e129f447dc4a6 /indra | |
parent | 9439c721f4672d4ed3afdeb41f493c9968ecf28b (diff) |
SL-17274 Hook up albedo tint to pbropaqueF
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 && |