A free plane wave form shader for ARKit, iOS 11.4 & 12.
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