From db44e06d66cfa11e55660663ea33e604b604ace3 Mon Sep 17 00:00:00 2001 From: Cosmic Linden Date: Wed, 1 Mar 2023 16:15:26 -0800 Subject: SL-19294: Fix Blinn-Phong texture transforms affecting GLTF materials --- indra/newview/llvovolume.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llvovolume.cpp') 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 -- cgit v1.2.3