summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/16-shadowmaps/fs_shadowmaps_packdepth_linear.sc
blob: 19b63b1b9d92ff2779f4a075abacaea227173e9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
$input v_depth

/*
 * Copyright 2013-2014 Dario Manesku. All rights reserved.
 * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
 */

#include "../common/common.sh"

void main()
{
	gl_FragColor = packFloatToRgba(v_depth);
}