mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 06:49:32 -05:00
Fixing blend functions for Framebuffer-based rendering
This commit is contained in:
@@ -459,11 +459,11 @@ namespace openspace {
|
||||
glDisable(GL_BLEND);
|
||||
#else
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_CULL_FACE);
|
||||
glDisable(GL_BLEND);
|
||||
// glEnable(GL_BLEND);
|
||||
// glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
// glDisable(GL_CULL_FACE);
|
||||
glEnable(GL_CULL_FACE);
|
||||
// glDisable(GL_BLEND);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
#endif
|
||||
// setup the camera for the current frame
|
||||
|
||||
|
||||
Reference in New Issue
Block a user