This is an example of a Rive file working as a texture in ThreeJS
You can see the project working here: DEMO
-
It's based in this ThreeJS official example:
https://threejs.org/examples/#webgl_materials_texture_canvas -
You can find the ThreeJS docs about it here:
https://threejs.org/manual/#en/canvas-textures