Replies: 1 comment 2 replies
-
Are you using our bult-in backends? We do clamp the scissor region to the size of the context. It could perhaps look like it's clamping to the wrong size here, for some reason. Are you able to track down how the scissor region is clamped and set? From a debugger, you can try with a set point in the render interface scissor region, and work back from there. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently upgraded my application to RmlUi 6.0, and I've been seeing some strange rendering issues - namely incorrectly clipped elements, and missing text. The problems are strangely non-deterministic in that they only seem to occur once the document has been loaded into a new context after a previous one containing that document has been destroyed. Checking render captures, RmlUi seems to be passing incorrect scissor rectangles to the render backend, and also not submitting any draws for the missing text (potentially some kind of culling going wrong?). I'm not confident enough that the problem isn't in my own code for an issue or similar, so any ideas on what could be going on are appreciated.
Missing text, both in a context rendering to an offscreen target and in a fullscreen context (element info panel of the debugger and box in bottom right corner):
and the intended display (before the contexts are recreated):
RenderDoc capture showing incorrectly clipped elements:
and the correctly clipped elements (before context recreation):
Beta Was this translation helpful? Give feedback.
All reactions