mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 16:02:08 +02:00
Back to clean state, just added the Material Key
This commit is contained in:
parent
7de4c2eff7
commit
470e24820d
1 changed files with 2 additions and 2 deletions
|
@ -117,14 +117,14 @@ template <> void render::jobRun(const DrawOpaqueDeferred& job, const SceneContex
|
|||
}
|
||||
|
||||
// ItemIDsBounds sortedItems;
|
||||
ItemMaterialBucketMap stateSortedItems;
|
||||
/* ItemMaterialBucketMap stateSortedItems;
|
||||
stateSortedItems.allocateStandardMaterialBuckets();
|
||||
if (true) {
|
||||
for (auto& itemIDAndBound : renderedItems) {
|
||||
stateSortedItems.insert(itemIDAndBound.id, scene->getItem(itemIDAndBound.id).getMaterialKey());
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
if (renderContext->_renderOpaque) {
|
||||
RenderArgs* args = renderContext->args;
|
||||
|
|
Loading…
Reference in a new issue