feat: re-add uvScale, vertexScale to unlit material

This commit is contained in:
Nick Fisher committed 2024-11-21 12:30:20 +08:00
1 parent bc8edb7eb4
commit b7bc46b94a
6 files changed
+4772 -7060

No files matched your search

@@ -36,6 +36,8 @@ public:
const char* extras = nullptr) override {
auto instance = mUnlitMaterial->createInstance();
instance->setParameter("baseColorIndex", -1);
instance->setParameter("vertexScale", 1.0f);
instance->setParameter("uvScale", filament::math::float2 { 1.0f, 1.0f });
return instance;
}
@@ -8,5 +8,5 @@ UNLIT_PACKAGE:
UNLIT_UNLIT_OFFSET:
.int 0
UNLIT_UNLIT_SIZE:
.int 147641
.int 101492
@@ -8,5 +8,5 @@ _UNLIT_PACKAGE:
_UNLIT_UNLIT_OFFSET:
.int 0
_UNLIT_UNLIT_SIZE:
.int 147641
.int 101492
Binary file not shown.
File diff suppressed because it is too large. Load diff