Last change
on this file since 2852 was
2852,
checked in by ldelgass, 13 years ago
|
Fix up line endings and formatting in shader code, also add emacs magic line
to get C++ mode highlighting
|
File size:
752 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-2006 Purdue Research Foundation |
---|
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 | |
---|
14 | float4 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.