diff options
author | Kenneth Russel <[email protected]> | 2009-06-15 23:05:16 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-15 23:05:16 +0000 |
commit | 935d2596c13371bb745d921dbcb9f05b0c11a010 (patch) | |
tree | 7fcc310618ae5a90edc734dc821e75afc0f080aa /src/demos/hdr/shaders/cg/shrink.cg | |
parent | e2332d2f2908e68f1e77454c73f329f8ff2b400d (diff) |
Deleted obsolete source code in preparation for copying JOGL_2_SANDBOX
on to trunk
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@351 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/hdr/shaders/cg/shrink.cg')
-rwxr-xr-x | src/demos/hdr/shaders/cg/shrink.cg | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/demos/hdr/shaders/cg/shrink.cg b/src/demos/hdr/shaders/cg/shrink.cg deleted file mode 100755 index 7e01947..0000000 --- a/src/demos/hdr/shaders/cg/shrink.cg +++ /dev/null @@ -1,17 +0,0 @@ -// downsample float image by half - -#include "hdr.cg" - -half4 main(fragin In, - uniform samplerRECT sceneTex : TEXUNIT0 - ) : COLOR -{ - // should calculate texcoords in vertex shader here: - half4 c; - c = texRECT(sceneTex, In.tex0.xy); - c = c + texRECT(sceneTex, In.tex0.xy + float2(1, 0)); - c = c + texRECT(sceneTex, In.tex0.xy + float2(0, 1)); - c = c + texRECT(sceneTex, In.tex0.xy + float2(1, 1)); - c = c * 0.25; - return c; -} |