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

Fix the old-blur kinda look #2

Open
somerandomstick opened this issue May 9, 2022 · 1 comment
Open

Fix the old-blur kinda look #2

somerandomstick opened this issue May 9, 2022 · 1 comment

Comments

@somerandomstick
Copy link

Okay so one thing I've noticed with the motionblur mod is that the motionblur feels like the old blur option in lunar; can you fix this and make it so that it gives more of a default lunar motionblur feel? It can be toggleable, you can compare it yourself.

@TheKodeToad
Copy link

This is a more Lunar-like motion blur shader which makes me feel a lot less sick:

#version 120

uniform sampler2D DiffuseSampler;
uniform sampler2D PrevSampler;

varying vec2 texCoord;
varying vec2 oneTexel;

uniform vec2 InSize;
uniform float BlendPercentage;

void main() {
	gl_FragColor = mix(texture2D(DiffuseSampler, texCoord), texture2D(PrevSampler, texCoord), BlendPercentage);
	gl_FragColor.w = 1.0;
}

I created it for my client, and it should be really easy to implement.

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

No branches or pull requests

2 participants