From 390ef63a8da4c3e89b2f61526b641b1b2b82f42d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 18 Feb 2012 16:59:52 +0100 Subject: unify shader names(2) --- src/demos/dualDepthPeeling/shader/front_peeling_init.vp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/demos/dualDepthPeeling/shader/front_peeling_init.vp (limited to 'src/demos/dualDepthPeeling/shader/front_peeling_init.vp') diff --git a/src/demos/dualDepthPeeling/shader/front_peeling_init.vp b/src/demos/dualDepthPeeling/shader/front_peeling_init.vp new file mode 100644 index 0000000..b005d0c --- /dev/null +++ b/src/demos/dualDepthPeeling/shader/front_peeling_init.vp @@ -0,0 +1,16 @@ +//-------------------------------------------------------------------------------------- +// Order Independent Transparency with Depth Peeling +// +// Author: Louis Bavoil +// Email: sdkfeedback@nvidia.com +// +// Copyright (c) NVIDIA Corporation. All rights reserved. +//-------------------------------------------------------------------------------------- + +vec3 ShadeVertex(); + +void main(void) +{ + gl_Position = ftransform(); + gl_TexCoord[0].xyz = ShadeVertex(); +} -- cgit v1.2.3