thrice Posted November 29, 2018 Share Posted November 29, 2018 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); Quote Link to comment Share on other sites More sharing options...
thrice Posted November 29, 2018 Author Share Posted November 29, 2018 Just opened 2nd example on my iPhone X and runs flawlessly however. So maybe bug with engine? Or something with auto play? Though I don’t see why that would be the case when the first example is working in chrome Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 29, 2018 Share Posted November 29, 2018 @thrice on Chrome I am seeing exactly the same on both PGs could you share a screenshot of your issue ? I am having hard time to repro. NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
thrice Posted November 29, 2018 Author Share Posted November 29, 2018 Sure, though hard to demonstrate via SS due to flickering. Here are videos of: chrome version (broken) https://www.dropbox.com/s/b5e8zkv0vjl6be4/video_bug_chrome.flv?dl=0 safari version (working) https://www.dropbox.com/s/jx5jrl17a5es8vb/video_safari.flv?dl=0 Are you seeing the working version or the bugged version? Quote Link to comment Share on other sites More sharing options...
thrice Posted November 29, 2018 Author Share Posted November 29, 2018 Sorry, use this playground instead for the broken version https://www.babylonjs-playground.com/#CAAXS7#3 In the one I posted originally, it was broken, but I was doing dumb stuff to try and work around it which makes it more confusing Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 29, 2018 Share Posted November 29, 2018 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 ? Quote Link to comment Share on other sites More sharing options...
thrice Posted November 29, 2018 Author Share Posted November 29, 2018 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? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 29, 2018 Share Posted November 29, 2018 Windows and Chrome. I ll check tomorrow on MacOS to see if I can repro thrice 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.