first commit
This commit is contained in:
15
shader/UBO_WorldMatrix.glsl
Normal file
15
shader/UBO_WorldMatrix.glsl
Normal file
@@ -0,0 +1,15 @@
|
||||
layout(std430,binding = 0,row_major) uniform WorldMatrix // hgl/math/Math.h
|
||||
{
|
||||
mat4 ortho;
|
||||
|
||||
mat4 projection;
|
||||
mat4 inverse_projection;
|
||||
|
||||
mat4 modelview;
|
||||
mat4 inverse_modelview;
|
||||
|
||||
mat4 mvp;
|
||||
mat4 inverse_mvp;
|
||||
|
||||
vec4 view_pos;
|
||||
} world;
|
Reference in New Issue
Block a user