source: trunk/packages/vizservers/nanovis/shaders/passthru.cg @ 1018

Last change on this file since 1018 was 430, checked in by qiaow, 18 years ago

Minor fixes

File size: 706 bytes
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
13float4 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.