bbc / VideoContext

An experimental HTML5 & WebGL video composition and rendering API.
http://bbc.github.io/VideoContext/
Apache License 2.0
1.33k stars 157 forks source link

can i set node position and size? #101

Closed jo-hnny closed 6 years ago

jo-hnny commented 6 years ago

Overlay an image on the video,i want set the image size and position, how can i do this?

Sacharified commented 6 years ago

You will need to use an effect node and a WebGL shader. There are some sample shaders in src/definitions. You will probably want to look at the scale and position effects.