bgfx/src/vs_clear.sc
Бранимир Караџић 4581f14cd4 Happy New Year!
2022-01-15 11:59:06 -08:00

16 lines
292 B
Scala

$input a_position
/*
* Copyright 2011-2022 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
#include "bgfx_shader.sh"
uniform vec4 bgfx_clear_depth;
void main()
{
gl_Position = vec4(a_position.xy, bgfx_clear_depth.x, 1.0);
}