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

Oscar de la Hera
Sep 3, 2018 · 1 min read

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

AR Tips And Tricks

A place where I document my findings and make them available to the masses. For all blog posts go to www.oscardelahera.com/blog

Written by

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

A place where I document my findings and make them available to the masses. For all blog posts go to www.oscardelahera.com/blog

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade