SL-17274 Hook up albedo tint to pbropaqueF

master
Dave Parks 2022-06-24 14:15:24 -05:00
parent 9439c721f4
commit c5e3ace94d
1 changed files with 5 additions and 0 deletions

View File

@ -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 &&