Welcome, Guest.
Username: Password: Remember me

TOPIC: Chromatic Aberration MotionBlur

Chromatic Aberration MotionBlur 7 months 4 weeks ago #1

Is is practical to have a shader that uses chromatic aberration for motion blur, so that only when the camera frame moves the distortion of color creates an illusion of motion blur.
Last Edit: 7 months 4 weeks ago by ShapeShiftingGhost.
The administrator has disabled public write access.

Chromatic Aberration MotionBlur 7 months 1 week ago #2

You mean to blur each color channel in different degrees? Could be interesting and not hard at all to implement.

Something like this should work: pastebin.com/NX05AGZ4

I just wrote it up on my phone so I can't test it.
Likes to reinvent the wheel.

My shaders repository: www.github.com/luluco250/FXShaders
The administrator has disabled public write access.
The following user(s) said Thank You: Scorpio82CO

Chromatic Aberration MotionBlur 7 months 1 week ago #3

luluco250 wrote:
You mean to blur each color channel in different degrees? Could be interesting and not hard at all to implement.

Something like this should work: pastebin.com/NX05AGZ4

I just wrote it up on my phone so I can't test it.

---

- Ive tried your new shader but received this message:

Failed to compile .. Chromatic_Aberration_MotionBlur.fx(11, 9): error X3000: syntax error: unexpected 'identifier'
The administrator has disabled public write access.

Chromatic Aberration MotionBlur 7 months 1 day ago #4

There is a error in the code
The administrator has disabled public write access.

Chromatic Aberration MotionBlur 7 months 20 hours ago #5

Line number 11 must be
uniform float fFrameTime <source = "frametime";>;
Here's the full code:
Warning: Spoiler! [ Click to expand ]
The administrator has disabled public write access.

Chromatic Aberration MotionBlur 5 months 1 week ago #6

Could you do something similar to the effect found in the ChromaticAberration.fx where you can change the strength of the effect.
The administrator has disabled public write access.