diff --git a/inferno/src/inferno/render/context.cpp b/inferno/src/inferno/render/context.cpp index 1ecbf73..0beefde 100644 --- a/inferno/src/inferno/render/context.cpp +++ b/inferno/src/inferno/render/context.cpp @@ -50,6 +50,10 @@ namespace Inferno { // Enable z-buffer / depth buffer glEnable(GL_DEPTH_TEST); + + // Enable transparency + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glEnable(GL_BLEND); } void Context::update()