Last change
on this file since 4809 was
2857,
checked in by ldelgass, 12 years ago
|
Remove vr3d library - texture classes were redundant. Remove last vestiges of
opencv usage in code and remove from configure - replaced by imgLoaders library
functions.
|
File size:
253 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | |
---|
3 | float4 main(float3 pos : TEXCOORD0, |
---|
4 | uniform sampler3D vfield) : COLOR |
---|
5 | { |
---|
6 | float3 velocity = tex3D(vfield, pos).yzw * 2 - float3(1, 1, 1); |
---|
7 | return float4(velocity, 1); |
---|
8 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.