A free stroke metal shader on a timer for ARKit, iOS 11.4 & 12.

Oscar de la Hera
AR Tips And Tricks
Published in
1 min readSep 3, 2018

To apply the shader, use the following function, with TimedStroke as the shaderName:

Here’s the shader. To set the loop time, edit line 42. The start time for the stroke is on line 43 and the end time for the stroke is on line 44.

One day I will figure out how to change the constants through swift code and will repost then.

For any questions or feedback, please leave a comment in the section below.

Oscar

--

--

Oscar de la Hera
AR Tips And Tricks

Oscar is an award-winning Spanish Inventor whose work impacts lives through brands that include Nike, MoMA and Samsung.