You can use two textures to get the result.
Though the example used RTT, it should be similar with CustomProceduralTexture.