mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
Enable depth test for the grids
This commit is contained in:
@@ -294,7 +294,7 @@ void RenderableGrid::render(const RenderData& data, RendererTasks&){
|
||||
glEnablei(GL_BLEND, 0);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glEnable(GL_LINE_SMOOTH);
|
||||
glDepthMask(false);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
|
||||
// Render minor grid
|
||||
glBindVertexArray(_vaoID);
|
||||
|
||||
Reference in New Issue
Block a user