add WorldMatrix.ubo
This commit is contained in:
parent
4c83df79ae
commit
86fc166bf1
16
res/shader/WorldMatrix.ubo
Normal file
16
res/shader/WorldMatrix.ubo
Normal file
@ -0,0 +1,16 @@
|
||||
layout(binding=0) 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;
|
||||
vec2 resolution;
|
||||
} world;
|
Loading…
x
Reference in New Issue
Block a user