GLSL UV fucnction Error

Hi there!
I am converting a shadertoy shader into touch GLSL.but I got an Error!
Vertex Shader Compile Results:

Compiled Successfully

=============

Pixel Shader Compile Results:
0(48) : error C1008: undefined variable “UV”

=============

Program Link Results:
Fragment info

0(48) : error C1008: undefined variable “UV”
(0) : error C2003: incompatible options for link

seems touch dose no know UV.any help?
THX

TouchDesigner doesn’t automatically define a uniform for UV but it does define vUV. So you can probably replace UV with vUV.st

See the wiki for more examples viewtopic.php?f=4&t=7858&hilit=shadertoy+converter

Hey Reza,
please read this chapter about how to import Shadertoy into TD, most is answered there:
nvoid.gitbooks.io/introduction- … ertoy.html