16 lines
292 B
Scala
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);
|
|
}
|