On a mission to learn more about using shaders on the Web, I set out to recreate this example using the PlayCanvas engine.
It made use of some new techniques for me, including ray marching to generate the marble pattern.
While not exactly the same I was pretty happy with the results and I learned a lot about shaders along the way. I have further plans for what I will do with this shader now I've got it to this point.
View work