BabylonJS Editor V4 Use Video Texture

I am using BabylonJS editor V4, Is there a way to use video texture on material? I cannot import video as texture, but it cannot.

But I saw the BabylonJS documentation Video As A Texture | Babylon.js Documentation

I wonder if the editor supports it?

1 Like

Adding @julien-moreau who is the creator of the editor.

1 Like

Hey @Alvin_Stefanus
You are right, it is supported by Babylon.JS but not the Editor. Let me add the support of that feature :slight_smile:

2 Likes

I Also would love to have that, i tried to add a Video Texture with the .ts of my charakter but i struggled to do that because its always saying:
Uncaught TypeError: this.CreateFromWebCamAsync is not a function
at new VideoTexture.CreateFromWebCam

How can i achieve something like that?:

new VideoTexture.CreateFromWebCam(scene, function (videoTexture) {}, { maxWidth: 256, maxHeight: 256 });

Cc @julien-moreau