Engine v2 upgrade - no video playback

Hi, since upgrading to engine v2 (2.5.0 from V1) my videos no longer playback.

Presumably its this line (below) but I dont understand it as I am using myVideoTexture.upload() to transfer the video frames to the video texture each frame.

Rendering to a texture

When rendering to a texture, the deprecated method of configuring the RenderTarget on the Layer has been fully removed. The RenderTarget must now be set directly on the camera instead.

I get no errors. Any ideas?

Thanks

any warnings when using the debug engine?

Thanks. YES! There is indeed a warning!
The emissive map was set to black (which worked in previous versions but I guess not in the new one).
I simply changed the code to :
material.emissive.set(1, 1, 1);
And I can now see the video again.
Thanks!!

1 Like

Just adding this to the engine migration guide, should be online shortly