4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

TouchDesigner | Instanceで複数動画を貼る

Last updated at Posted at 2018-07-14

全体

screenshot 2018-07-14 19.26.45.png

Point SOP | Add Texture

screenshot 2018-07-14 19.30.11.png

「% 9」は画面を9つ構成にしてるから

##Instance 2 | Texture Mode→[W] & [Texture Index] にCustum Attribを入れる
screenshot 2018-07-14 19.33.59.png

Instance Texturesには動画ファイルを入れる

GLSL Multi TOP

screenshot 2018-07-14 19.37.14.png


書き換え前
void main()
{
    //vec4 color = texture(sTD2DInputs[0], vUV.st);
    vec4 color = vec4(1.0);
    fragColor = TDOutputSwizzle(color);
}

書き換え後

void main()
{
    vec4 color = texture(sTD2DInputs[0], vUV.st);
    //vec4 color = vec4(1.0);
    fragColor = TDOutputSwizzle(color);
}
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?