mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 07:19:28 -05:00
removed solution for opacity issue - caused subsets to render behind original data
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user