I have been reading up on creating metal filters & how they can be used with SCNTechnique to apply a post processing effect with AR Kit. I can get the basic effects working following other examples.
I would like to use filters that were made by FlexMonkey some years ago; I see they are C programs in a way. E.g:
https://github.com/FlexMonkey/Filterpedia/blob/master/Filterpedia/customFilters/TransverseChromaticAberration.swift
https://github.com/FlexMonkey/Filterpedia
Is there way a to adapt such filter to be used with a metal shader?
I am quite willing to watch any relevant WWDC videos to learn how to do this.
Ideally, I want to apply a chromatic aberration effect that will shift the RGB color position using a time uniform.
For reference:
https://en.wikipedia.org/wiki/Chromatic_aberration
I would like to use filters that were made by FlexMonkey some years ago; I see they are C programs in a way. E.g:
https://github.com/FlexMonkey/Filterpedia/blob/master/Filterpedia/customFilters/TransverseChromaticAberration.swift
https://github.com/FlexMonkey/Filterpedia
Is there way a to adapt such filter to be used with a metal shader?
I am quite willing to watch any relevant WWDC videos to learn how to do this.
Ideally, I want to apply a chromatic aberration effect that will shift the RGB color position using a time uniform.
For reference:
https://en.wikipedia.org/wiki/Chromatic_aberration