Code cleanup, simplification
This commit is contained in:
parent
3dd195fe35
commit
b92e210bbe
8 changed files with 285 additions and 396 deletions
|
|
@ -9,6 +9,7 @@ layout (binding = 0) uniform UBO {
|
|||
mat4 projection;
|
||||
mat4 modelview;
|
||||
mat4 inverseModelview;
|
||||
float exposure;
|
||||
} ubo;
|
||||
|
||||
layout (location = 0) out vec3 outUVW;
|
||||
|
|
@ -17,11 +18,6 @@ layout (location = 2) out vec3 outNormal;
|
|||
layout (location = 3) out vec3 outViewVec;
|
||||
layout (location = 4) out vec3 outLightVec;
|
||||
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
outUVW = inPos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue