v2.6
This commit is contained in:
1 parent
f794457538
commit
9afaa4e0c8
59 files changed
+1606
-218
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:bahnschrift.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:calibri.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:cantarell.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:comic-sans-ms.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:deja-vu-sans-mono.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:new-times-roman.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:roboto.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:segoe-ui.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"type": "ttf",
|
||||
"file": "sputnik:ubuntu.ttf",
|
||||
"size": 10.0,
|
||||
"oversample": 2.0,
|
||||
"shift": [0.0, 0.0],
|
||||
"range": "0x0000-0x00FF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,14 @@
|
||||
#version 150
|
||||
in vec2 vTexCoord;
|
||||
in vec4 vColor;
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
uniform sampler2D u_Texture;
|
||||
|
||||
void main() {
|
||||
float distance = texture(u_Texture, vTexCoord).r;
|
||||
float alpha = smoothstep(0.4, 0.6, distance);
|
||||
|
||||
fragColor = vec4(vColor.rgb, vColor.a * alpha);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
#version 150
|
||||
in vec3 aPos;
|
||||
in vec2 aTexCoord;
|
||||
in vec4 aColor;
|
||||
|
||||
out vec2 vTexCoord;
|
||||
out vec4 vColor;
|
||||
|
||||
uniform mat4 u_ProjectionMatrix;
|
||||
|
||||
void main() {
|
||||
gl_Position = u_ProjectionMatrix * vec4(aPos, 1.0);
|
||||
vTexCoord = aTexCoord;
|
||||
vColor = aColor;
|
||||
}
|
||||
Reference in new issue
Block a user