SL-17274 Hook up albedo tint to pbropaqueF
parent
9439c721f4
commit
c5e3ace94d
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue