Open KatayaAyman opened 6 years ago
I'm afraid it was never implemented properly - it was more like an experiment. It got completely broken with the new DOM implementation.
I made the required fixes in the develop/video-texture and threw together a sample; however performance is sub-par, the video element implementation is just enough to make the example run, colors are wrong etc.
The ogv format is not supported, the sample uses mp4. The video texture should use RGBA but video decoding only works with ARGB so colors are off
Hi, is there a possibility for you to merge this branch with master, even with its sub-par performance?
I tried video texture based on the following documentations: https://github.com/mrdoob/three.js/blob/master/examples/canvas_materials_video.html https://github.com/mrdoob/three.js/blob/master/examples/webgl_materials_video.html https://stemkoski.github.io/Three.js/Video.html
I replaced CanvasRenderingExample in HoloJS -> ThreeJSApp example with the following two trials:
In the first example I am seeing a white plane, in the second example I am not getting anything on hololens.