Jump to content

Video Texture / createInstance issues


thrice
 Share

Recommended Posts

So I am having issues with videoTextures and createInstance. I thought it was related to alphaBlending/mode and what not, but I am able to get it working perfectly if I just use clone or without createInstance. So I am wondering if it's an issue with video texture, or just my createInstance implementation in my custom shader (though I use the same code elsewhere for createInstance with non video textures and as far as I can tell it works correctly.)

Anyways here is a working playground version, or what should be happening, using clone.

https://www.babylonjs-playground.com/#TQUA6H

Here is the fubar version. It really is quite fubar, all sorts of different glitches. Like sometimes there is a big blue plane blocking one of the textures each time, sometimes the videos go at superspeed and don't seem to recognize where they are supposed to stop playing, sometimes one vid will play and not other, and ONE time, got it to work perfectly but couldn't reproduce after that. So I am at a loss.

https://www.babylonjs-playground.com/#CAAXS7

Anyone have any ideas?

(also make sure to hit run after you load playground, on both of them. and left click to play the videos);

Link to comment
Share on other sites

57 minutes ago, Sebavan said:

Always seeing the same as the safari version on my desktop it all looks working correctly to me.

 What kind of os are you running on ?  

Hmmm. I'm on OSX 10.2 sierra. - Chrome v70.0.3538.110 - Also seeing issue on my macbook pro/chrome. Also seeing issue in my actual game which is running an older electron/chromium version (not sure which exactly). What are you running?

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