From ebf313ccd64999f2451728641c1dbf6b0f03ecc9 Mon Sep 17 00:00:00 2001 From: lanariel Date: Wed, 12 Feb 2014 08:35:21 +0100 Subject: [PATCH] 2D transparancy --- Code/OysterGraphics/Render/Resources.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/OysterGraphics/Render/Resources.cpp b/Code/OysterGraphics/Render/Resources.cpp index 6ccc480b..e0a0aa79 100644 --- a/Code/OysterGraphics/Render/Resources.cpp +++ b/Code/OysterGraphics/Render/Resources.cpp @@ -389,6 +389,7 @@ namespace Oyster Gui::Pass.RenderStates.SampleCount = 1; Gui::Pass.RenderStates.SampleState = RenderStates::ss; + Gui::Pass.RenderStates.BlendState = RenderStates::bs; ////---------------- Blur Pass Setup ---------------------------- Blur::HorPass.Shaders.Compute = GetShader::Compute(L"BlurHor");