How to bypass:
op('OPNAME').bypass = True
op('OPNAME').bypass = False
Cooking flag:
op('OPNAME').allowCooking = True
op('OPNAME').allowCooking = False
Other flags can be found under "Common flags" section here:
http://www.derivative.ca/wiki088/index. ... COMP_Class
Wednesday, August 22, 2018
Monday, August 20, 2018
Touch Designer Tips - importing Shadertoy GLSL shaders
replace iChannel0 with sTD2DInputs[0]
replace fragCoord with gl_FragCoord.xy
Add 2 Vector variables:
iResolution [1280, 720]
iTime [absTime.seconds]
uniform vec2 iResolution;
uniform float iTime;
============================================
Dual Buffer
replace iChannel0 with sTD2DInputs[0]
replace void mainImage(out vec4 fragColor,etc) with void main()
layout (location = 0) out vec4 fragColor;
uniform vec3 iResolution;
uniform float iFrame;
uniform vec3 iMouse;
https://www.youtube.com/watch?v=2JDR5l5UjRU
replace fragCoord with gl_FragCoord.xy
Add 2 Vector variables:
iResolution [1280, 720]
iTime [absTime.seconds]
uniform vec2 iResolution;
uniform float iTime;
============================================
Dual Buffer
replace iChannel0 with sTD2DInputs[0]
replace void mainImage(out vec4 fragColor,etc) with void main()
layout (location = 0) out vec4 fragColor;
uniform vec3 iResolution;
uniform float iFrame;
uniform vec3 iMouse;
https://www.youtube.com/watch?v=2JDR5l5UjRU
Subscribe to:
Posts (Atom)