Line | |
---|
1 | /*
|
---|
2 | * ======================================================================
|
---|
3 | * AUTHOR: Wei Qiao <qiaow@purdue.edu>
|
---|
4 | * Purdue Rendering and Perceptualization Lab (PURPL)
|
---|
5 | *
|
---|
6 | * Copyright (c) 2004-2006 Purdue Research Foundation
|
---|
7 | *
|
---|
8 | * See the file "license.terms" for information on usage and
|
---|
9 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
---|
10 | * ======================================================================
|
---|
11 | */
|
---|
12 |
|
---|
13 | float4 main(in float2 uv : TEXCOORD0,
|
---|
14 | uniform samplerRECT tex,
|
---|
15 | uniform float4 scale,
|
---|
16 | uniform float4 bias) : COLOR
|
---|
17 | {
|
---|
18 | return texRECT(tex, uv) * scale + bias;
|
---|
19 | //return float4(1,1,1,1);
|
---|
20 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.