docs.rodeo

MDN Web Docs mirror

Video textures

{{DefaultAPISidebar("WebGL")}} {{Previous("Web/API/WebGL_API/By_example/Textures_from_code")}} 

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

Textures from video

{{EmbedGHLiveSample('dom-examples/webgl-examples/tutorial/sample8/index.html', 670, 510) }} 

The source code of this example is available on GitHub.

{{Previous("Web/API/WebGL_API/By_example/Textures_from_code")}} 

In this article

View on MDN