nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

Rendering nanogui makes other triangles transparent

Open kaesaecracker opened this issue 5 years ago • 3 comments

This one is including screen->draw_widgets(); image

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

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.

kaesaecracker avatar May 05 '20 19:05 kaesaecracker

I have the same issue. @kaesaecracker, were you able to find a solution to this problem?

laemtl avatar Aug 19 '20 23:08 laemtl

@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.

kaesaecracker avatar Aug 20 '20 06:08 kaesaecracker

Thanks @kaesaecracker, I ended up migrating the GUI in another window, which fixes the issue.

laemtl avatar Aug 20 '20 14:08 laemtl