Shadows, broke OpenGL, broke graphics settings, Exception raised when closing software
This commit is contained in:
parent
f7127e0878
commit
0d41f3e15b
36 changed files with 1187 additions and 219 deletions
|
|
@ -1,5 +1,23 @@
|
|||
#version 450
|
||||
|
||||
void main() {
|
||||
layout(location = 0) in vec3 entityPos;
|
||||
layout(location = 1) in vec3 entityNormal;
|
||||
layout(location = 2) in vec3 entityTangent;
|
||||
layout(location = 3) in vec3 entityBitangent;
|
||||
layout(location = 4) in vec2 entityTextCoords;
|
||||
|
||||
}
|
||||
layout(push_constant) uniform matrices {
|
||||
mat4 modelMatrix;
|
||||
uint materialIdx;
|
||||
} push_constants;
|
||||
|
||||
layout (location = 0) out vec2 outTextCoord;
|
||||
layout (location = 1) out flat uint outMaterialIdx;
|
||||
|
||||
void main()
|
||||
{
|
||||
outTextCoord = entityTextCoords;
|
||||
outMaterialIdx = push_constants.materialIdx;
|
||||
|
||||
gl_Position = push_constants.modelMatrix * vec4(entityPos, 1.0f);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue