removed solution for opacity issue - caused subsets to render behind original data

This commit is contained in:
aniisaaden
2020-10-26 10:33:23 +01:00
parent d2f5076977
commit 3dea76ac73
2 changed files with 2 additions and 2 deletions
@@ -251,7 +251,7 @@ namespace openspace {
// Changes GL state:
glEnablei(GL_BLEND, 0);
glDepthMask(false);
//glDepthMask(false);
glBlendEquation(GL_FUNC_ADD);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_PROGRAM_POINT_SIZE); // Enable gl_PointSize in vertex
@@ -265,7 +265,7 @@ namespace openspace {
// Restores GL State
global::renderEngine->openglStateCache().resetBlendState();
global::renderEngine->openglStateCache().resetDepthState();
//global::renderEngine->openglStateCache().resetDepthState();
}
}
View File