Add shaders that will just return positional information
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#version 430 core
|
||||
layout (location = 0) in vec3 position;
|
||||
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
|
||||
out vec4 vColor;
|
||||
void main()
|
||||
{
|
||||
gl_Position = theMat * vec4(position,1);
|
||||
vColor = vec4(position,1);
|
||||
}
|
||||
Reference in New Issue
Block a user