2014-08-01 18:50:56 -04:00
|
|
|
#ifdef UBO_DISABLED
|
|
|
|
uniform mat4 ViewMatrix;
|
|
|
|
uniform mat4 ProjectionMatrix;
|
|
|
|
uniform mat4 InverseViewMatrix;
|
|
|
|
uniform mat4 InverseProjectionMatrix;
|
2014-09-05 17:41:12 -04:00
|
|
|
uniform mat4 ProjectionViewMatrix;
|
2014-08-01 19:02:06 -04:00
|
|
|
uniform vec2 screen;
|
2014-08-01 18:50:56 -04:00
|
|
|
#else
|
|
|
|
layout (std140) uniform MatrixesData
|
|
|
|
{
|
|
|
|
mat4 ViewMatrix;
|
|
|
|
mat4 ProjectionMatrix;
|
|
|
|
mat4 InverseViewMatrix;
|
|
|
|
mat4 InverseProjectionMatrix;
|
2014-09-05 17:41:12 -04:00
|
|
|
mat4 ProjectionViewMatrix;
|
2014-08-01 18:50:56 -04:00
|
|
|
mat4 ShadowViewProjMatrixes[4];
|
|
|
|
vec2 screen;
|
|
|
|
};
|
2014-08-18 11:49:44 -04:00
|
|
|
#endif
|