Custom control for shader's parametr
Posted: Sun Apr 05, 2015 4:12 am
Hey guyz!!
Is there any chance to make a custom control parameter for selected shader?
For example, i need to control this string in BWwarpdots.txt:
Thanx for any advice))
Is there any chance to make a custom control parameter for selected shader?
For example, i need to control this string in BWwarpdots.txt:
Changing the number after "resolution.xy" gives the possibilities to full interaction with coordinates from kinect!..vec2 position = ( gl_FragCoord.xy - resolution.xy*.3 ) / resolution.x; // 256 angle steps
Thanx for any advice))