summaryrefslogtreecommitdiffstats
path: root/src/demos/dualDepthPeeling/shader/wavg_init.vp
blob: 3d3d25a1173d46f7238dd73367bcf83883d1b0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//--------------------------------------------------------------------------------------
// Order Independent Transparency with Average Color
//
// 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();
}