Last change
on this file since 3884 was
3630,
checked in by ldelgass, 11 years ago
|
Nanovis refactoring to fix problems with scaling and multiple results.
Do rendering in world space to properly place and scale multiple data sets.
Also fix flows to reduce resets of animations. More work toward removing
Cg dependency. Fix panning to convert viewport coords to world coords.
|
File size:
402 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | * Authors: |
---|
6 | * Wei Qiao <qiaow@purdue.edu> |
---|
7 | */ |
---|
8 | |
---|
9 | float4 main(in float2 uv : TEXCOORD0, |
---|
10 | uniform samplerRECT tex, |
---|
11 | uniform float4 scale, |
---|
12 | uniform float4 bias) : COLOR |
---|
13 | { |
---|
14 | return texRECT(tex, uv) * scale + bias; |
---|
15 | //return float4(1,1,1,1); |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.