Skip to content

Commit

Permalink
make glassopacity 0 for aero (its meant to be 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktorwiktor12 committed Jul 19, 2024
1 parent 14c998a commit 744f15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenGlass/GlassRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 744f15b

Please sign in to comment.