bgfx/examples/common/debugdraw/vs_debugdraw_fill.sc

14 lines
261 B
Python
Raw Normal View History

2016-02-26 09:20:24 +03:00
$input a_position
/*
* Copyright 2011-2016 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include <bgfx_shader.sh>
void main()
{
gl_Position = mul(u_modelViewProj, vec4(a_position, 1.0) );
}