summaryrefslogtreecommitdiff
path: root/txtgameengine/shaders/integrated.py
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-24 03:19:22 +0200
committerrom <romangraef@gmail.com>2021-04-24 11:08:22 +0200
commitec934bf2f0f3536c1b4d31b4ca002f6f38ada9fe (patch)
tree21e44e889c91eeecc1537e69eae7d0b50d25804a /txtgameengine/shaders/integrated.py
parenta0a40e9259b9e8be4e677c8c29dfdfb89eb81ce8 (diff)
downloadtxtgameengine-ec934bf2f0f3536c1b4d31b4ca002f6f38ada9fe.tar.gz
txtgameengine-ec934bf2f0f3536c1b4d31b4ca002f6f38ada9fe.tar.bz2
txtgameengine-ec934bf2f0f3536c1b4d31b4ca002f6f38ada9fe.zip
font rendering
Diffstat (limited to 'txtgameengine/shaders/integrated.py')
-rw-r--r--txtgameengine/shaders/integrated.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/txtgameengine/shaders/integrated.py b/txtgameengine/shaders/integrated.py
index d9e5ae5..180225a 100644
--- a/txtgameengine/shaders/integrated.py
+++ b/txtgameengine/shaders/integrated.py
@@ -14,3 +14,9 @@ class TextureShader(Shader):
UNIFORMS = dict(textureSampler="textureSampler")
VERTEX_PATH = shader_base_path / 'texture/vertex.glsl'
FRAGMENT_PATH = shader_base_path / 'texture/fragment.glsl'
+
+
+class FontShader(Shader):
+ UNIFORMS = dict(textureSampler="textureSampler")
+ VERTEX_PATH = shader_base_path / 'font/vertex.glsl'
+ FRAGMENT_PATH = shader_base_path / 'font/fragment.glsl'