diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index 8f12d1d0..8384f656 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -198,6 +198,9 @@ int main(int argc, char* argv[]) float farZ = 1000.0f; gizmoDrawer.GetLineShader().SetUniformTex("u_Depth", depthTexture.get(), 3); gizmoDrawer.GetLineShader().SetUniformVec2("u_Resolution", depthTexture->GetSize()); + glEnable(GL_LINE_SMOOTH); + glEnable(GL_BLEND); + glDepthRange(0.1f, 1000.0f); if (editor.ShouldDrawAxis()) { gizmoDrawer.DrawAxis(currentScene);