Packed font rendering
This commit is contained in:
@@ -12,5 +12,6 @@ uniform mat4 model;
|
||||
void main()
|
||||
{
|
||||
texcoords = vertex.xy;
|
||||
texcoords.y *= -1;
|
||||
gl_Position = projection * model * vec4(vertex.xy, 0.0, 1.0);
|
||||
}
|
||||
@@ -10,5 +10,5 @@ layout (std140) uniform Projection
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * vec4(vertex.xy, 0.0, 1.0);
|
||||
TexCoords = vec2(vertex.z, 1.0 - vertex.w);
|
||||
TexCoords = vertex.zw;
|
||||
}
|
||||
Reference in New Issue
Block a user