Touchdesigner - Shadertoy GLSL integration

  Рет қаралды 20,432

Programming for People

Programming for People

Күн бұрын

THIS IS NOT A GLSL Coding Video.
Also please only use the information in here to learn, dont just steal other peoples hard work!
Thanks to the shaders from:
Shane:
www.shadertoy.com/user/Shane
www.shadertoy.com/view/4l2cD3
Chronos:
www.shadertoy.com/user/chronos
www.shadertoy.com/view/XtdSDn
In this video we have a look at importing and converting shadertoy shaders (even those with multiple buffers) into touchdesigner without a massive amount of work.
2:20 - 8:50 - importing a single buffer shader
9:00 - end - Double buffer shader with feedback loop

Пікірлер: 11
@lisandroperalta
@lisandroperalta 4 жыл бұрын
Thanks a lot for this perfect video... I've just took a course on GLSL programing and decided to start learnin TD with the promise that it would be easy to port them. You made it so simple and easy! Thanks!
@elekktronaut
@elekktronaut 4 жыл бұрын
Thanks a lot, this really helps!
@RusticRaver
@RusticRaver 5 жыл бұрын
Hi, so in case the buffer is asking iChannelResolution[4] says please ad to array page but now it wants a chop, sorry for asking but I have in front of me the wiki about array but to be frank it might just as well be written in japanese. There is not even an actual picture of touchdesigner array page. Imagine you had to explain to someone what is a photograph without even showing one, that is to resume the way they explain things on wiki touch designer, I'm sure an experienced coder would make sense of these instructions but for normal mortals its impossible and very frustrating. It's only when I found your instructions I managed to convert few shaders with buffers, so thx a lot for that. This tutorial made it crystal clear!
@RusticRaver
@RusticRaver 6 жыл бұрын
cool this helps!
@hiborboto
@hiborboto 4 жыл бұрын
Hi, Great tutorial. Thank you ! Just wondering, I've tried a different shader and got a lot of errors I couldn't solve since I didn't knew how to manage them on TouchDesigner (like vEnv and vEnvColor) Any suggestion how can I improve my knowledge to better understand this? Also, would like to better understand formulas in touchdesigner. Any reference you would like to share? Thank you again!
@danimacovei5261
@danimacovei5261 5 жыл бұрын
how would you go about shaders that have more buffers?
@rezaVfx
@rezaVfx 6 жыл бұрын
Thanks for your great tut! but I got a question about the second part! how can we use mouse in touch just like the source website? I used mouse-in Chop and hooked it up to iMouse parm in GLSL node but did not work! any ideas?
@Programmingforpeople
@Programmingforpeople 6 жыл бұрын
imgur.com/a/alJa6fs Here is a snippet of me using mouse input. As the GLSL top can't see panel data you need to use a container COMP. Put a panel chop in the container (that is the same resolution as your shader) and then take the 'insideu' & 'insidev' to pass into the iMouse uniform.
@perimosh
@perimosh 4 жыл бұрын
In my case of Shader i have this errors: 0(116) : error C7011: implicit cast from "vec3" to "vec2" 0(245) : error C7011: implicit cast from "vec4" to "vec3" and this lines are: vec3 vEnv = texture(sTD2DInputs[0], vEnvDir).rgb; fragColor = vec4(vResult,0.1); What is the error?
@MECHATRONICMAN
@MECHATRONICMAN 4 жыл бұрын
try vEnvDir.xy (in similar code it help me)
@m.arifrofiudin
@m.arifrofiudin 3 ай бұрын
i have error like this. ERROR: /project1/glsl3_pixel:13: '' : syntax error, unexpected BUFFER, expecting COMMA or SEMICOLON this my full Image Script: layout (location = 0) out vec4 fragColor; uniform vec3 iResolution; const vec3 CellColor = vec3(0.2, 0.2, 0.2); const vec3 RingColor = vec3(0.0, 0.2, 0.2); const vec3 DiskColor = vec3(0.0, 0.0, 0.0); void main() { vec2 uv = gl_FragCoord.xy / iResolution.xy; vec4 buffer = texture(sTD2DInputs[0], uv); vec3 color = 1.0*(buffer.x * CellColor + buffer.y * RingColor + buffer.z * DiskColor); float c = 1.0 - buffer.z; float c2 = 1. - texture(sTD2DInputs[0], uv + .5/iResolution.xy).y; color += vec3(.6, .85, 1.)*max(c2*c2 - c*c, 0.)*4.; fragColor = vec4(color, 1.0); } ///////////////////////////////////// Error on this line: vec4 buffer = texture(sTD2DInputs[0], uv); i do same with your video why like tis?
Getting Started with DMX - Overview, Touchdesigner & MaxMSP
23:25
Programming for People
Рет қаралды 10 М.
TouchDesigner Quick Tips: Shadertoy Port to TouchDesigner
15:17
Lake Heckaman
Рет қаралды 4 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 60 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Why Notch is Exciting for TouchDesigner Developers
16:54
The Interactive & Immersive HQ
Рет қаралды 15 М.
RA3AAE: "Как передаётся энергия".
37:42
TouchDesigner | Refractions 1/3
8:35
MIR
Рет қаралды 9 М.
TouchDesigner Tutorial: Vertex Shader Deformation in GLSL - 10 Minutes Guide
10:20
Hou2Touch | Stanislav Glazov
Рет қаралды 3,6 М.
Audio Reactive ShaderToy Mod for KodeLife App
5:30
PLU Collective
Рет қаралды 515
RAG from the Ground Up with Python and Ollama
15:32
Decoder
Рет қаралды 27 М.
Ableton + Touchdesigner: Live Set Overview
24:15
sunnk
Рет қаралды 9 М.
Liquid texture TouchDesigner (recording test)
8:10
CLAUDE
Рет қаралды 15 М.
AI Projection Mapping Tutorial
9:42
reflekkt
Рет қаралды 13 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 60 МЛН