Jump to content

Video Texture for scene backgrond


tranlong021988
 Share

Recommended Posts

Let say I have a plane mesh contain a video texture, how to make it fit camera view (modify position only) ? I know some formula here:  http://stackoverflow.com/questions/14614252/how-to-fit-camera-to-object

But they not work smooth with device orientation camera (lagging), so if anyone know how to directly draw/streaming video as a background in BJS scene ?

I need they render everything in same canvas so DOM Div splitting impossible. 

Thank you.

 

Link to comment
Share on other sites

Hi @tranlong021988,

i'm not quite sure if this is what you want, but i'm asuming you're after a video textured mesh to always be in full camera view?

perhaps a layer as background can help you out..

Quote

 

http://www.babylonjs-playground.com/#UUXLX#15

i've never tried doing it so i don't know if it even supports video texture :) but it's worth a try..

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...