Fixing circle shader
This commit is contained in:
@@ -7,8 +7,13 @@ layout (std140) uniform Projection
|
||||
mat4 projection;
|
||||
};
|
||||
|
||||
layout (std140) uniform Resolution
|
||||
{
|
||||
vec2 resolution;
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * vec4(vertex.xy, 0.0, 1.0);
|
||||
coords = vertex.zw;
|
||||
}
|
||||
coords = vertex.zw*resolution;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user