整理shader文件排列

This commit is contained in:
hyzboy 2020-05-28 22:07:07 +08:00
parent 23685cd868
commit d841ded4e9
4 changed files with 1 additions and 16 deletions

View File

@ -13,4 +13,4 @@ layout(binding=0) uniform WorldMatrix // hgl/math/Math.h
vec4 view_pos; vec4 view_pos;
vec2 resolution; vec2 resolution;
} world; } world;

View File

@ -1,15 +0,0 @@
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;
} world;