You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI/UI.cpp void UI::Render(VertexBuffer* buffer, const ea::vector<UIBatch>& batches, unsigned batchStart, unsigned batchEnd)
seems to use the first batch.customMaterial_ global to all following UI-Batches
I have changed the HelloWorld.cpp to reproduce the issue, also added 2 techniques/materials/shader for testing.
In issue #566 all consecutive custom materials in UI was treated as one.
That's no longer the case.
Probably some more optimizations can be added, if two different UI
materials have exactly the same parameters
---------
Co-authored-by: Eugene Kozlov <nekoeuge@gmail.com>
In issue #566 all consecutive custom materials in UI was treated as one.
That's no longer the case.
Probably some more optimizations can be added, if two different UI
materials have exactly the same parameters
---------
Co-authored-by: Eugene Kozlov <nekoeuge@gmail.com>
UI/UI.cpp
void UI::Render(VertexBuffer* buffer, const ea::vector<UIBatch>& batches, unsigned batchStart, unsigned batchEnd)
seems to use the first batch.customMaterial_ global to all following UI-Batches
I have changed the HelloWorld.cpp to reproduce the issue, also added 2 techniques/materials/shader for testing.
[picmento.de/rbfxfiles/HelloWorld.zip]
The text was updated successfully, but these errors were encountered: