summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/imgui/vs_imgui_cubemap.sc
blob: d2cd9242e54fb2ec1df5f9085decb4a9cea8e1bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$input a_position, a_normal
$output v_normal

/*
 * Copyright 2011-2018 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) );
	v_normal = a_normal.xyz;
}