A free plane wave form shader for ARKit, iOS 11.4 & 12.

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

Please download the following plane scn file. It is a 100 divisions by 100 divisions plane.

Here’s what the shader will look like:

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

And here’s the shader (below), the key variables are in line 60–62. To edit the amplitude, change line 62. To change the speed at which it forms, change the velocity in line 60. To change the number of waves, edit the divisions float on line 61.

Please leave any questions or comments in the section below.

Oscar

--

--

AR Tips And Tricks
AR Tips And Tricks

Published in 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

Oscar de la Hera
Oscar de la Hera

Written by Oscar de la Hera

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