How to clip multiple tiled textures to polygon in Webgl / opengl
Quick idea:


render platforms color to screen quad
render mesh and platforms to screen quad, but as a mask. For example mesh is white, rest is black. 
in another pass sample these textures and if mask is white, color it with sample from first texture. Render to screen.