diff options
author | Dave Parks <davep@lindenlab.com> | 2024-06-11 17:10:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 17:10:13 -0500 |
commit | f40fbdf4ad27a547e30781cd44cd6847d68d3300 (patch) | |
tree | b26dd135413752a90037bd48ad2217c4dea027ef /indra/llrender/llglslshader.h | |
parent | 429c92ad75fd3b3f7b9dfc52ed034b25004a3b9c (diff) |
#1718 Add GLTF support for multiple texcoords (#1720)
* Fix for GLTF MeshPrimitiveModes test
Diffstat (limited to 'indra/llrender/llglslshader.h')
-rw-r--r-- | indra/llrender/llglslshader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h index f2b5c4881c..d42df28809 100644 --- a/indra/llrender/llglslshader.h +++ b/indra/llrender/llglslshader.h @@ -328,14 +328,16 @@ public: // bit 0 = alpha mode blend (1) or opaque (0) // bit 1 = rigged (1) or static (0) // bit 2 = unlit (1) or lit (0) + // bit 3 = single (0) or multi (1) uv coordinates struct GLTFVariant { constexpr static U8 ALPHA_BLEND = 1; constexpr static U8 RIGGED = 2; constexpr static U8 UNLIT = 4; + constexpr static U8 MULTI_UV = 8; }; - constexpr static U8 NUM_GLTF_VARIANTS = 8; + constexpr static U8 NUM_GLTF_VARIANTS = 16; std::vector<LLGLSLShader> mGLTFVariants; |