~ubuntu-branches/ubuntu/intrepid/compiz-fusion-plugins-main/intrepid-proposed

« back to all changes in this revision

Viewing changes to data/filters/blackandwhite

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-03-07 15:38:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20080307153855-p3bk2dge7n44tb7l
Tags: 0.7.2-0ubuntu1
* new upstream release
  - adds missing color filters
  - bugfixes
  - simplify build-depends
* debian/patches/10_from_git_8d38454.diff:
  - fix in wall from git

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
!!ARBfp1.0
 
2
TEMP tex, temp, black, white;
 
3
MOV black, {0, 0, 0, 0};
 
4
MOV white, {1, 1, 1, 1};
 
5
TEX tex, fragment.texcoord[0], texture[0], RECT;
 
6
DP3 temp.x, tex, {0.33333, 0.33333, 0.33333, 0};
 
7
ADD temp.x, temp.x, -0.5;
 
8
CMP temp, temp.x, black, white;
 
9
MOV temp.a, tex.a;
 
10
MOV result.color, temp;
 
11
END