W3cubDocs

/Web APIs

Video textures

This example demonstrates how to use video files as textures for WebGL surfaces.

Textures from video

The source code of this example is available on GitHub.

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/By_example/Video_textures