mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
19 lines
446 B
Bash
19 lines
446 B
Bash
/*
|
|
* Copyright 2011-2012 Branimir Karadzic. All rights reserved.
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
*/
|
|
|
|
#ifndef __SHADER_COMMON_H__
|
|
#define __SHADER_COMMON_H__
|
|
|
|
#include "bgfx_shader.sh"
|
|
|
|
uniform mat4 u_view;
|
|
uniform mat4 u_viewProj;
|
|
uniform mat4 u_model;
|
|
uniform mat4 u_modelView;
|
|
uniform mat4 u_modelViewProj;
|
|
uniform mat4 u_modelViewProjX;
|
|
uniform mat4 u_viewProjX;
|
|
|
|
#endif // __SHADER_COMMON_H__
|