Closed lautriva closed 2 months ago
Depends on if your renderer allows splitting the update state of the GUI and the drawing. The only thing in the update state that really changes is the input. Check through your render code and make sure it's not changing anything for the input, and not calling nk_clear()
.
Yes, I already split the the gui update and drawing
I don't have access to the VR hardware at the moment but I'll take a look to update my renderer to not use nk_clear()
at the end of the draw (named render_gui
in my example) but call it at the end of the frame
Thanks
Hi, I wonder if it is possible to render multiple times My usecase : I am integrating Nuklear into a VR application, and I need to render the GUI on both eyes But when I call the render multiple times it seems the UI is frozen and not responding to events
Everything works in desktop when using a single render() call, so I think maybe its related to some operations that should be done once
Here is in pseudo-code how its done:
Then on each frame :