Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invert X-direction scaling of parallax effect #235

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

xoascf
Copy link
Contributor

@xoascf xoascf commented Mar 29, 2024

No description provided.

@kfh83
Copy link
Contributor

kfh83 commented Mar 29, 2024

Very nice, fix in effect:

2024-03-29.07-35-11.mov

Windows 7 footage:

2024-03-29_04-05-53.mp4

Binary for those in a hurry:
DWMBlurGlassExt.dll.zip

This PR fixes #230.

@ALTaleX531 ALTaleX531 merged commit bdb2186 into Maplespe:master Mar 29, 2024
@TheInsane101
Copy link

How do I apply the fix? Replacing the dll just brings back the vanilla 2.0 Aero blur.

@kfh83
Copy link
Contributor

kfh83 commented Mar 29, 2024

How do I apply the fix? Replacing the dll just brings back the vanilla 2.0 Aero blur.

Can you take a screenshot? And also a screenshot of your config.ini and GUI

I assume you're coming from BlurGlass-Mod.zip, here's how you can use the values from there:

For example, you have this in your config right now:
[aero]
PrimaryBalance=0.08         ; Controls normal layer opacity. If you turn this up to 1 the window will be fully opaque, for example. Ranges from 0 to 1

Active_SecondaryBalance=0.43    ; Controls the multiply layer intensity for active windows. Ranges from 0 to 1.
Inactive_SecondaryBalance=0.43    ; Controls the multiply layer intensity for inactive windows. Ranges from 0 to 1.

Active_BlurBalance=-0.125    ; Controls "overexposure" effect for active windows. Ranges from -1 to 1
Inactive_BlurBalance=0.365    ; Controls "overexposure" effect for inactive windows. Ranges from -1 to 1 

For 2.1.0, this is how these settings would translate:

[config.aero]
activeColorBalance=0.080000  
inactiveColorBalance=0.032000 ; altalex for some reason didn't do * 0.4f so its always 40% of the active color, so you have to do the manual work
activeBlurBalance=-0.125000   ; these settings translate perfectly, just copy the values from your old config.ini
inactiveBlurBalance=0.365000

you may notice there is no secondarybalance here, just set the OPACITY OF YOUR TITLEBAR BLEND COLOR TO THE SECONDARY BALANCE YOU WANT. for example, here the config says 0.43 secondary balance for both active and inactive, so you would set your titlebar blend color opacity for active/inactive to 43%. This isn't a fixed value, make sure to match up with whatever color you want. If you have overrideaccent = true, for SIB you can just match up the color and opacity of the DWMBlurGlass colors.

The reason why it probably looks like 2.0 aero is because colorbalance is actually working now and thus it probably became really opaque, just a matter of adjusting it

@xoascf xoascf deleted the glass-x-orientation branch March 29, 2024 17:26
@TheInsane101
Copy link

No, I added this fix directly to the 2.1 pre-release, which was working fine except for the reflection, and after replacing the ext.dll, the blur changed to 2.0 vanilla.

2.1 before fix replacement:
Clipboarder 2024 03 29-003

After fix:
Clipboarder 2024 03 29-004

@kfh83
Copy link
Contributor

kfh83 commented Mar 29, 2024

No, I added this fix directly to the 2.1 pre-release, which was working fine except for the reflection, and after replacing the ext.dll, the blur changed to 2.0 vanilla.

2.1 before fix replacement: Clipboarder 2024 03 29-003

After fix: Clipboarder 2024 03 29-004

Your colorbalance is 0.43. Set it to 0.08 and 0.032 (40% of the active).

@TheInsane101
Copy link

Ok that fixed it! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants