blob: a76a4d0c7af3bf837c2aa4e674f9364cdc26fc51 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$input a_position
/*
* Copyright 2011-2021 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include <bgfx_shader.sh>
void main()
{
vec4 model = mul(u_model[0], vec4(a_position, 1.0) );
gl_Position = mul(u_viewProj, model);
}
|