source: nanovis/tags/1.1.1/shaders/passthru.cg @ 4937

Last change on this file since 4937 was 3177, checked in by mmc, 12 years ago

Updated all of the copyright notices to reference the transfer to
the new HUBzero Foundation, LLC.

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