non functional deferred rendering and also camera paths and instanced GUIs
This commit is contained in:
parent
4569b471d5
commit
2d37c574d6
25 changed files with 933 additions and 315 deletions
8
resources/EngineResources/shaders/lighting_vertex.glsl
Normal file
8
resources/EngineResources/shaders/lighting_vertex.glsl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) out vec2 outTextCoord;
|
||||
|
||||
void main() {
|
||||
outTextCoord = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2);
|
||||
gl_Position = vec4(outTextCoord.x * 2.0f - 1.0f, outTextCoord.y * - 2.0f + 1.0f, 0.0f, 1.0f);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue