home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bitfellas Bitjam
/
bitfellasbitjamcdbitfellas2007.iso
/
Dats
/
distor.ps
< prev
next >
Wrap
Text File
|
2007-08-01
|
281b
|
10 lines
float time_0_X;
sampler2D distortion;
float4 main(float2 x:texcoord):color {
float2 xx = x;
xx.y += sin(time_0_X + x.x * 15) * .01;
xx.y += sin(time_0_X + x.y * 15) * .01;
if((x.y < .11) || (x.y > .89)) return(0);
else return(tex2D(distortion, xx));
}