Lighting still looks horrible, but whatever for now
This commit is contained in:
@@ -50,8 +50,6 @@ MaterialInstance::~MaterialInstance()
|
||||
|
||||
void MaterialInstance::updateDescriptor()
|
||||
{
|
||||
if(!dirty)
|
||||
return;
|
||||
Gfx::PDescriptorLayout layout = baseMaterial->getMaterial()->getDescriptorLayout();
|
||||
descriptor = layout->allocateDescriptorSet();
|
||||
for (auto& param : parameters)
|
||||
|
||||
Reference in New Issue
Block a user