Jump to content

VideoTextures not Rendering


MasterSplinter
 Share

Recommended Posts

I've looked through various threads (I believe someone attempted to do this for peter jackson a few months ago).  I'm trying to attach a live stream video to a texture.  One would think if it's a video element it should attach.  However, it doesn't appear to be viewable.  I was hoping someone would have some idea why the element may or may not be appearing.

http://codepen.io/wpdildine/pen/zqqrba

Attached is a scene comment out line 65 and the plane will appear.

Thanks in advance.

-P

Link to comment
Share on other sites

1 hour ago, Pouet said:

you talk about createTexture() method of Engine ?

Yes. 

Uncaught TypeError: Cannot read property 'createTexture' of null

  • o.createDynamicTexture @ babylon.js:4
  • (anonymous function) @ babylon.js:13
40 minutes ago, MasterSplinter said:

The solution is to add this line of code

That didnt change anything for me. The sphere disappeared

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...