home *** CD-ROM | disk | FTP | other *** search
/ Bitfellas Bitjam / bitfellasbitjamcdbitfellas2007.iso / interface / sign_of_life / matches.ps < prev    next >
Text File  |  2007-08-09  |  223b  |  8 lines

  1. sampler2D texture1;
  2. float4 main(float4 Diffuse: COLOR0, float z: TEXCOORD0, float2 x: TEXCOORD1): COLOR0 {
  3.    Diffuse.a += z * .2;
  4.    if(Diffuse.a > 0.38) Diffuse.a = 0.38;
  5.    return tex2D(texture1, x) - Diffuse;
  6. }
  7.  
  8.