internal: remove vertexScale from unlit material and multiply by alpha
This commit is contained in:
1 parent
242041c9f6
commit
cc1b55b6c9
5 files changed
+31
-197
No files matched your search
@@ -36,7 +36,6 @@ 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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user