nanogui
nanogui copied to clipboard
Rendering nanogui makes other triangles transparent
This one is including screen->draw_widgets();

This one is without, this would be the expected result (apart from the nanogui missing)

RenderDoc shows the correct textures and vertices, and I am calling glUseProgram(..) and glBindVertexArray(..) before rendering my stuff. Does nanogui or nanovg do any glEnable(..) calls I am not aware of or something?
I hope I just missed some crucial information and this is not a real bug, otherwise I'll provide a small repo according to the guidelines.
I have the same issue. @kaesaecracker, were you able to find a solution to this problem?
@laemtl No sadly not, I ended up not using nanogui because of this. If you find anything, please let me know. I think what I found was that it changes some OpenGL context settings, but does not work without those. I don't really remember though.
Thanks @kaesaecracker, I ended up migrating the GUI in another window, which fixes the issue.