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