blob: 1c6234aee4388c34cbe122e7a0b5253b9452b471 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//--------------------------------------------------------------------------------------
// Order Independent Transparency with Dual Depth Peeling
//
// Author: Louis Bavoil
// Email: sdkfeedback@nvidia.com
//
// Copyright (c) NVIDIA Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
void main(void)
{
gl_FragColor.xy = vec2(-gl_FragCoord.z, gl_FragCoord.z);
}
|