summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-03-01 16:15:26 -0800
committerCosmic Linden <cosmic@lindenlab.com>2023-03-02 10:37:56 -0800
commitdb44e06d66cfa11e55660663ea33e604b604ace3 (patch)
tree1f617c2e2905bc1e319c6da106db3525345edf37 /indra/newview/llvovolume.cpp
parent099fe4a70a95339c1709c3eb2a925d7a77c642cc (diff)
SL-19294: Fix Blinn-Phong texture transforms affecting GLTF materials
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 42e764b492..d88713a690 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -5878,6 +5878,9 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
if (gltf_mat != nullptr)
{
// all gltf materials have all vertex attributes for now
+ // *TODO: More finely enumerate vertex attributes for GLTF materials so
+ // that LLFace::getGeometryVolume can use a more optimal computation path
+ // as appropriate. (see: "whole expensive loop") -Cosmic,2023-03-01
add_face(sNormSpecFaces, normspec_count, facep);
}
else