Cleanup
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#version 450 core
|
||||
layout(points) in;
|
||||
layout(triangle_strip, max_vertices = 4) out;
|
||||
layout(std140, binding = 0) uniform TheMat { mat4 theMat; };
|
||||
void main() {
|
||||
vec2 p1 = gl_in[0].gl_Position.xy;
|
||||
vec2 p2 = gl_in[0].gl_Position.zw;
|
||||
gl_Position = theMat * vec4(p1,100,1); EmitVertex();
|
||||
gl_Position = theMat * vec4(p1,5000,1); EmitVertex();
|
||||
gl_Position = theMat * vec4(p2,100,1); EmitVertex();
|
||||
gl_Position = theMat * vec4(p2,5000,1); EmitVertex();
|
||||
EndPrimitive();
|
||||
}
|
||||
@@ -1,9 +1,4 @@
|
||||
#version 450 core
|
||||
//layout (location = 0) in vec4 poss;
|
||||
//void main()
|
||||
//{
|
||||
// gl_Position = poss;
|
||||
//}
|
||||
struct PosTex { vec4 pospos; vec4 texang; };
|
||||
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
|
||||
layout (std430, binding = 2) readonly buffer Pos { PosTex data[]; };
|
||||
|
||||
Reference in New Issue
Block a user