home *** CD-ROM | disk | FTP | other *** search
/ BitJam / bitjam1-1.iso / interface / sign_of_life / matches.ps < prev    next >
Text File  |  2007-09-05  |  221b  |  7 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.