Transparent video texture showing previous frames
I'm experiencing an issue with a plane with a (transparent .webm) video texture. The video is of a cell rotating in place, and every frame is getting drawn on top of the previous one. Since the video is partially transparent, you can see the previous frames behind the current one. Any suggestions on how to make sure the last frame gets removed before drawing the next one?
Here's the pertinent bit of code: https://gist.github.com/bradsimantel/10168393
And a screenshot:

As stated in the guidelines, help requests should be directed to stackoverflow. This board is for bugs and feature requests.
I thought it might be an issue with how Three.js updates textures - drawing on top of the previous frame rather than refreshing it. In any case, sorry!
It may be a bug. But better to figure it out if it's a bug or not on stackoverflow.
http://stackoverflow.com/questions/22948498/three-js-transparent-video-texture-showing-previous-frames
Ok. So it does indeed seem that it's an issue with the library. We had never dealt with transparent videos before.
Thanks for providing a example! (http://jsfiddle.net/4ndDB/)
Works for me in FF but with black background and does not work in Chrome but without the black frame. Just saying :)
Works for me in FF but with black background and does not work in Chrome but without the black frame.
I bet that's because FF doesn't support webm with transparency yet.
Interesting: Chrome Canary 37.x.xxx.x seems to have the artifacting problem, Canary 38.0.2124.0 resolves it, and then 39.x.xxx.x breaks it again for me.
Any updates to this issue? On Chrome 43, transparent webm videos are rendering the alpha channel as black and drawing all frames on top of each other. In FF 37, the video frames look right, but the alpha channel is also black.
@thelucre Transparent webm videos work fine for me on OSX Chrome 42. Post a simple example on stackoverflow if you need help and show all your code.
Ah, it looks like videoTexture.format = THREE.RGBFormat was breaking the alpha. Confirmed working in Chrome 43. Thank you, @WestLangley
@thelucre oh, so this is fixed?
@mrdoob I am not sure it was broken.
@WestLangley You're right! @mrdoob It's working as intended in Chrome. Thank you both.
Well, I'm not sure about the original issue of this post. I never saw a live demo using a recent version of the library.