first commit
This commit is contained in:
13
shader/gbuffer_debug.vert
Normal file
13
shader/gbuffer_debug.vert
Normal file
@@ -0,0 +1,13 @@
|
||||
#version 450 core
|
||||
|
||||
layout(location = 0) in vec2 Vertex;
|
||||
|
||||
layout(location = 0) out uint FragmentTexID;
|
||||
layout(location = 1) out vec2 FragmentTexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position=vec4(Vertex,0.0,1.0);
|
||||
|
||||
FragmentTexCoord=(Vertex+1.0)/2.0;
|
||||
}
|
Reference in New Issue
Block a user