GLSL Materials in TouchDesigner: Porting from WebGL

  Рет қаралды 1,073

Lake Heckaman

Lake Heckaman

Күн бұрын

Take your vertex and fragment shader skills to the next level with custom GLSL Materials in TouchDesigner. This tutorial gives a gentle introduction to the concepts of GLSL Materials in TD by porting a shader from WebGL. We discuss each part of the shader pipeline, analogous structures in WebGL vs TouchDesigner, and end up with a fully ported parametric curve renderer, 100% in GLSL!
Links:
Project file: www.patreon.com/water__shed
Original blog post: mattdesl.svbtle.com/shaping-c...
Function Store toolbar: github.com/function-store/Fun...
Writing a GLSL Material - docs.derivative.ca/Write_a_GL...
00:00 Intro
02:28 Parametric Equation Blog Post Review
10:13 Begin Network Rebuild
11:15 Tube SOP and Render Network
14:46 Vertex Shader and Pipeline Review
16:38 Begin WebGL Vertex Shader Port to TouchDesigner
48:47 Begin WebGL Fragment Shader Port to TouchDesigner
53:40 Adding Mouse Interactivity
57:31 Add Color Palette
1:03:29 Outtro

Пікірлер: 9
@hinduspl
@hinduspl 5 ай бұрын
Thanks man. I think everyone appriciate your way of sharing your knowledge 👌👍
@water__shed
@water__shed 5 ай бұрын
thank you!
@unveil7762
@unveil7762 5 ай бұрын
❤🎉 THANKS
@water__shed
@water__shed 5 ай бұрын
my pleasure :)
@mattiaminerva2685
@mattiaminerva2685 4 ай бұрын
Thanks Man! Nobody have ever made something similar to explain the porting! I felt lost but you lit me up!! Could you tell me where to find other similar informations? tutorials, books, anything. I’m trying to figure out how some built-in variables of three.js ( position ) and map, where map is "uniform sampler2D map", correspond to in TouchDesigner but I can’t find anything anywhere. In particular the code to port in TD is this : vUv = vec2( position.x / width, position.y / height ); vec4 color = texture( map, vUv); Thank you very much
@water__shed
@water__shed 4 ай бұрын
hey, thank you! i highly recommend reading the Writing a GLSL Material page linked in the description. It is the most comprehensive source of TD-specific GLSL documentation out there. i think you probably want something like vUV.st in touchdesigner to get the UV coordinate with which to sample a texture map (the code example you posted)
@cobyiv
@cobyiv 5 ай бұрын
I gotta say, so impressed by your shear creativity & knowledge here. I’ve been listening to this one, but really need to run though this proper. Wondering if there is any way to get keyboard/midi controls to trigger events within the GLSL script? Cheers!
@water__shed
@water__shed 5 ай бұрын
for sure!! 100%. all you need to do is reference a keyboard in CHOP or midi chop in the GLSL uniform page, for example where I have uParams or something like that (i dont recall the name i used lol)
@water__shed
@water__shed 5 ай бұрын
and thank you :) i appreciate it a lot
Finally, Gaussian Splatting in TouchDesigner!
20:52
Lake Heckaman
Рет қаралды 3,4 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 517 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 4,9 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 29 МЛН
3D Shape Subdivisions - TouchDesigner Tutorial 34
18:59
bileam tschepe (elekktronaut)
Рет қаралды 33 М.
Turbulent, Wavy Feedback System in TouchDesigner
17:08
Lake Heckaman
Рет қаралды 812
Making a pawn that can actually turn into a queen | Blender 4.0
12:43
vray nvidia AI upscale
1:04
TechnicalArtist3d
Рет қаралды 73
Top 100 3D Artist Montage | Eternal Ascent
8:53
pwnisher
Рет қаралды 1,3 МЛН
The longsword duel from THE KING is on point.
10:55
Shot Zero
Рет қаралды 1,9 МЛН
I Spent 100 Days Learning Blender
12:39
Will Gibbons | 3D Rendering
Рет қаралды 142 М.
I Tried Turning Games Into Text
18:18
Acerola
Рет қаралды 233 М.
Lygia Shader Library in TouchDesigner
23:15
Lake Heckaman
Рет қаралды 582
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 122 М.
Что еще за съемные фронталки от Vivo? #vivo
0:41
Как слушать музыку с помощью чека?
0:36