In my GUI, I have really A LOT of widgets, so much that at some point some become invisible and such.
So I'm wondering if it comes from here :
Code: Select all
// in file CEGUIRenderer.cpp
const float Renderer::GuiZInitialValue = 1.0f;
const float Renderer::GuiZElementStep = 0.001f; // this is enough for 1000 Windows.
const float Renderer::GuiZLayerStep = 0.0001f; // provides space for 10 layers per Window.
So do you think that passing the 1000 window "limit" could produce such results ? And if so, what would your advise be, lowering GuiZElementStep ?