ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
60.8k stars 10.27k forks source link

Grid and model render order #6402

Closed pavledev closed 1 year ago

pavledev commented 1 year ago

Version/Branch of Dear ImGui:

Version: 1.89.2 Branch: docking

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_win32.cpp + imgui_impl_dx11.cpp Compiler: VS2022 Operating System: Windows 10

My Issue/Question:

I am using DrawGrid function from ImGuizmo to draw grid and I use DirectXTK to draw model and problem is that I can see grid through bottle model. How I can draw grid before model? image

ocornut commented 1 year ago

Closing as this is not a dear imgui question but likely a general rendering question.