From 744f15b34bcc5279439fa443cba9bbeb6026ace0 Mon Sep 17 00:00:00 2001 From: wiktorwiktor12 Date: Fri, 19 Jul 2024 16:10:52 +0100 Subject: [PATCH] make glassopacity 0 for aero (its meant to be 0) --- OpenGlass/GlassRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenGlass/GlassRenderer.cpp b/OpenGlass/GlassRenderer.cpp index 23cbbf7..f75f73f 100644 --- a/OpenGlass/GlassRenderer.cpp +++ b/OpenGlass/GlassRenderer.cpp @@ -265,7 +265,7 @@ HRESULT STDMETHODCALLTYPE GlassRenderer::MyCDrawingContext_DrawGeometry( RETURN_IF_FAILED(geometryShape->GetTightBounds(&shapeWorldBounds, &matrix)); glassEffect->SetGlassRenderingParameters( color, - g_glassOpacity, + ((GlassSharedData::g_type == Type::Aero) ? 0.0f : g_glassOpacity), g_blurAmount, GlassSharedData::g_ColorizationAfterglowBalance, // stays the same bactive ? GlassSharedData::g_ColorizationBlurBalance : 0.4f * GlassSharedData::g_ColorizationBlurBalance + 0.6f, // y = 0.4x + 60