Jump to content

How Do I Use Motion Blur Without Effecting Shadows?


Recommended Posts

I take photos in a game called, iRacing, and I have to edit them. The problem I am having is getting the motion blur to affect the ground under the shadows without affecting the shadows itself. I was told Photoshop does this with ease, so I know it's possible I just don't know if Affinity can do it and how.

Does anyone know? 

Test.png

Watkins-Aarron Powell-01.png

Link to comment
Share on other sites

Affinity Store: Affinity Suite (ADe, APh, APu) 1.10.5.1342.
Windows 10 Pro, Version 21H1, Build 19043.1586.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to comment
Share on other sites

Are you applying a Live Filter Motion Blur or the destructive one on the Filter Menu?

You are aware the white thumbnails on the left end of adjustment and live filter layers are masks right? If you do not want the Motion Blur applied to the shadows, paint them out. Just use a black paint brush, make sure you have the Motion Blur Live Filter's thumbnail selected in the layers panel, then paint over the shadow areas.

Affinity Photo 1.10.5.1342 ; Affinity Photo Beta 1.10.5.1342; Affinity Designer 1.10.5.1342; Affinity Designer Beta 1.10.5.1342; Win10 Home Version:21H2, Build: 19044.1766: Intel Core i7-4770, 3.90GHz, 32GB Ram, Nvidia GTX 645, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD

Link to comment
Share on other sites

Just now, Ron P. said:

Are you applying a Live Filter Motion Blur or the destructive one on the Filter Menu?

You are aware the white thumbnails on the left end of adjustment and live filter layers are masks right? If you do not want the Motion Blur applied to the shadows, paint them out. Just use a black paint brush, make sure you have the Motion Blur Live Filter's thumbnail selected in the layers panel, then paint over the shadow areas.

I'm using Live Filter Motion Blur at the bottom of the layers tab. 

 

Could you please specify what you mean by painting out? I tried inpaint, but that doesn't work. I could erase shadows without erasing the ground with it.

I'm pretty clueless, will probably need to be explained with good detail.

 

Thanks for your reply. :)

Link to comment
Share on other sites

1 hour ago, DamienB said:

Could you please specify what you mean by painting out? I tried inpaint, but that doesn't work.

Live Filters have builtin masks. So if you select one in the Layers panel, you can use the Paint Brush Tool to paint on it, just like it was any other mask layer. Use black to paint out (remove) the effect of the filter, white to paint it back in, or anything in between to partially remove it.

Affinity Photo 1.10.5, Affinity Designer 1.10.5, Affinity Publisher 1.10.5;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.5.280 & Affinity Designer 1.10.5 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.0.2

Link to comment
Share on other sites

Here's a video tutorial on Using Mask Layers.

 

Affinity Photo 1.10.5.1342 ; Affinity Photo Beta 1.10.5.1342; Affinity Designer 1.10.5.1342; Affinity Designer Beta 1.10.5.1342; Win10 Home Version:21H2, Build: 19044.1766: Intel Core i7-4770, 3.90GHz, 32GB Ram, Nvidia GTX 645, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD

Link to comment
Share on other sites

11 hours ago, DamienB said:

I take photos in a game called, iRacing, and I have to edit them. The problem I am having is getting the motion blur to affect the ground under the shadows without affecting the shadows itself. I was told Photoshop does this with ease, so I know it's possible I just don't know if Affinity can do it and how.

Does anyone know? 

Test.png

Watkins-Aarron Powell-01.png

Just apply your motion blur filter as desired, select the filter layer, click on the Blend Range icon (the cog in the upper right corner of the layer palette), and drop the shadows to zero or adjust just as you would a curves layer.

2021 16” Macbook Pro w/ M1 Max 10c cpu /24c gpu, 32 GB RAM, 1TB SSD, Monterey 12.5.1

2018 11" iPad Pro w/ A12X cpu/gpu, 256 GB, iPadOS 16.1

Link to comment
Share on other sites

This task is medium complex when you need a perfect result.

The source image needs to be separated into 2 areas:

  1. the car, all background removed
  2. the racetrack / background and old shadow

then add a motion blur filter between 1 and 2.

this uses a simplification: we blur both the non-blurred shadow and the already blurry background.

You will immediately notice a problem: the blur will catch wrong colors:

  • at the back of the car, we need to add a fill created from the street left of the car. A rectangular selection, copied, stretched and moved under the car, will do.
  • at the front / bottom of the car we need to add a vertical gradient filled curve, black on top, dark gray sampled from tarmac on bottom.
  • These curve should be placed below the fron / bottom of the car, and roughly follow the curvature of the old shadow.

There will be other easier methods to create a similar result.

My post tries to explain the principle approach without shortcuts.

 

 

A1753084-760E-4BC5-B114-8886DA81AA7D.png

racecar shadow.afphoto

Edited by NotMyFault
Revised version of attachments
Link to comment
Share on other sites

Posted (edited)

I think there confusion with me posting already motion edited photos. I don't want to know how to correct those that are motion edited already. So if someone could be so kind explain to me the steps to take with one that I start from scratch?

 

Also I tried using the paint brush tool over a mask, if just paints black or white. It's not doing what the video shows.

 

Watkins-Aarron Powell-0.png

Edited by DamienB
Link to comment
Share on other sites

11 hours ago, NotMyFault said:

This task is medium complex when you need a perfect result.

The source image needs to be separated into 2 areas:

  1. the car, all background removed
  2. the racetrack / background and old shadow

then add a motion blur filter between 1 and 2.

this uses a simplification: we blur both the non-blurred shadow and the already blurry background.

You will immediately notice a problem: the blur will catch wrong colors:

  • at the back of the car, we need to add a fill created from the street left of the car. A rectangular selection, copied, stretched and moved under the car, will do.
  • at the front / bottom of the car we need to add a vertical gradient filled curve, black on top, dark gray sampled from tarmac on bottom.
  • These curve should be placed below the fron / bottom of the car, and roughly follow the curvature of the old shadow.

There will be other easier methods to create a similar result.

My post tries to explain the principle approach without shortcuts.

 

 

A1753084-760E-4BC5-B114-8886DA81AA7D.png

racecar shadow.afphoto 12.01 MB · 0 downloads

What you're saying is to make two separate crops, the car and the shadow; So that I can use motion blur on the background and the shadow separately without affecting the car?

Link to comment
Share on other sites

20 minutes ago, DamienB said:

What you're saying is to make two separate crops, the car and the shadow; So that I can use motion blur on the background and the shadow separately without affecting the car?

Kind of.

Basically, you need only the car, as a selected / masked copy of the original image.

Then, you need to replace (delete / fill) the area covered by the car with suitable background for the blurring step. You can re-use the first mask for this purpose. My first tutorial will work for the non-blurred image, too.

Link to comment
Share on other sites

the car cutout:

image.thumb.png.6662e13da898ef59da460756491c4f78.png

a few helper (patches from road / shadow / car to bring the correct colors "under" the car cutout:

image.thumb.png.b87dacff922fa9de3663a2129a925f91.png

This atop the original image, and a motion blur added:

image.thumb.png.6894a1191423ad59b0f04a05ddea8a21.png

finally the car cutout on top:

image.thumb.png.f7f0098a6f72cbaaf6426987c1d7a076.png

 

a video explaining the principle method:

 

Link to comment
Share on other sites

Posted (edited)
1 hour ago, NotMyFault said:

the car cutout:

image.thumb.png.6662e13da898ef59da460756491c4f78.png

a few helper (patches from road / shadow / car to bring the correct colors "under" the car cutout:

image.thumb.png.b87dacff922fa9de3663a2129a925f91.png

This atop the original image, and a motion blur added:

image.thumb.png.6894a1191423ad59b0f04a05ddea8a21.png

finally the car cutout on top:

image.thumb.png.f7f0098a6f72cbaaf6426987c1d7a076.png

 

a video explaining the principle method:

 

Oh I know how to do what you're saying. You haven't answered my question because your edit has the shadows blurred too. The only reason why yours isn't blurred like mine is because I used a ton of motion blur. 

My question was to have zero blur on the shadow, but under the shadow the ground is still moving.

 

Edit: Also my paint brush doesn't work, I make a mask layer and I can't do anything, either nothing happens or I'm painting a black or white color on my photo.

Edited by DamienB
Link to comment
Share on other sites

I think to do what you want to do, duplicate the layer twice, blur the bottom layer. Turn off the top layer.  On the middle layer mask the shadows and invert (so the bottom layer comes through just in the shadows). That will blur just the shadows but leave their edges sharp which I figure is what you want. Can then cut out the car and shadow, blur the top layer and put the car on top.

Link to comment
Share on other sites

8 hours ago, DamienB said:

Oh I know how to do what you're saying. You haven't answered my question because your edit has the shadows blurred too. The only reason why yours isn't blurred like mine is because I used a ton of motion blur. 

My question was to have zero blur on the shadow, but under the shadow the ground is still moving.

 

Edit: Also my paint brush doesn't work, I make a mask layer and I can't do anything, either nothing happens or I'm painting a black or white color on my photo.

If you need the edge of the shadow sharp, but the racetrack blurred, limited to the part under the shadow:

  • make a selection of the shadow.
  • add live motion blur filter, adjust radius to taste

That is basically all, but you will face the issue i explained before: The blur will catch unwanted colors at the edges, and you need to backfill them.

Link to comment
Share on other sites

I'd be interested in seeing the tutorial/explanation of how photoshop does the ops question with ease?

iMac 27" Late 2019 Fully Loaded, iMac 27" Late 2013 both running Catalina 10.15.7 - Affinity Designer, Photo & Publisher, Adobe, Inkscape, Blender, C4D, Sketchup, Pepakura Designer + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Has probably something to do with the path blur tool, that can have multiple vectors with speed and shape controls, which, after selection of area to be processed (and making it available for smart filters), is easy to use to create complex blurs in one go.

motionblur_ps.jpg.d95fd49192d4342220cd424581e15224.jpg

(EDIT: On the other hand, as far as I have understood OP's problem correctly, the specified goal should be achievable by handling the motion blur ilve effect layer directly with the desired masking brush using shades between black and white to adjust the effect, or disable it altogether, at parts where it is not wanted, and I do not think that this can be done any easier way using Photoshop -- meaning that it can be done equally easily in both apps.)

Link to comment
Share on other sites

On 1/1/2022 at 5:19 PM, DamienB said:

...The problem I am having is getting the motion blur to affect the ground under the shadows without affecting the shadows itself...

Does anyone know?

I think so @DamianB.

You need 3 layers.

Bottom layer: just the track.
With the freehand selection tool make a selection around the car and go to Edit > Fill > Inpainting
If necessary, repeat this process until you get a clean track.
I took the shadows from the grass. Just a personal preference.
The patch tool can also help.
In the end you can add motion blur.

Track.jpg.743e6323266495b7db7b4d5eac432bf6.jpg

Middle Layer: Car + shadow
Top Layer: Just the car

carshadow.jpg.bf1b21e2f0ed223bc560ee03e51767c5.jpg

Lastly, fix the shadow.
The next steps will be ALL IN THE MIDDLE LAYER (Car + Shadow)

1) Better blending... Change blending mode to multiply
2) Too dark... reduce opacity to 80% (Edit: Maybe 85%)
3) Too much texture... add a dust & scratches adjustment layer (2px 4%)
4) Shadow too saturated... add a vibrance adjustment layer (Saturation -30%)
5) Edges of the shadow too harsh... With the mask selected, apply gaussian blur (2px)

Final.jpg.42eb518240f512ff0a7929c4d9e231c4.jpg

 

RacingCar.afphoto

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.