[Suggestion] Chromatic Aberration

Post Reply
User avatar
kingzeroth
Posts:45
Joined:Wed Jan 08, 2020 1:30 pm
[Suggestion] Chromatic Aberration

Post by kingzeroth » Mon Jan 13, 2020 8:02 pm

Chromatic Aberration is another effect to mimic real photos and gives the illusion of realism. It is famous for giving a sci-fi-ish look to the artwork.

Image
The red and cyan ghosting effect on the edges are the result of Chromatic Aberration.
Image
example artwork by Chengwei Pan

In Photoshop, this is done by resizing one of the RGB channel.
Image
img by Kuvshinov-Ilya
User avatar
support
Site Admin
Posts:1663
Joined:Thu May 07, 2015 1:33 pm

Re: [Suggestion] Chromatic Aberration

Post by support » Mon Jan 20, 2020 10:51 am

You can get channels for an image by the next way:
1)Create 3 copy of image layer
2)create 3 layers pure red, green and blue 255 0 0, 0 255 0, 0 0 255 RGB
3)set Multiply mode for RGB layers and merge it to 3 copy
4)set Add mode to 2 top layers


So you can little shift or resize any of Chanel-layers to get chromatic aberration
img-2020-01-20-13-44-08.png
img-2020-01-20-13-44-08.png (27.88KiB)Viewed 4725 times
Attachments
img-2020-01-20-13-44-44.png
img-2020-01-20-13-44-44.png (17.45KiB)Viewed 4725 times
User avatar
kingzeroth
Posts:45
Joined:Wed Jan 08, 2020 1:30 pm

Re: [Suggestion] Chromatic Aberration

Post by kingzeroth » Mon Jan 20, 2020 5:59 pm

support wrote:
Mon Jan 20, 2020 10:51 am
You can get channels for an image by the next way:
1)Create 3 copy of image layer
2)create 3 layers pure red, green and blue 255 0 0, 0 255 0, 0 0 255 RGB
3)set Multiply mode for RGB layers and merge it to 3 copy
4)set Add mode to 2 top layers


So you can little shift or resize any of Chanel-layers to get chromatic aberration
img-2020-01-20-13-44-08.png
Thank you for the workaround! Do you perhaps know how to make a working script for these actions in the mean time? I am unsuccessful at making a script to repeat these actions. The script would jump around to other layers.
User avatar
support
Site Admin
Posts:1663
Joined:Thu May 07, 2015 1:33 pm

Re: [Suggestion] Chromatic Aberration

Post by support » Thu Mar 19, 2020 10:19 am

A script counts layers from below. So in this task, you can save and use script only for a single layer document (merged image) or with some special structure of layers.
Post Reply