summaryrefslogtreecommitdiff
path: root/Data/Resources/Shaders/Editor-Text.glsl
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-31 17:13:50 +0800
committerchai <chaifix@163.com>2021-10-31 17:13:50 +0800
commit4b24de9ef863f54eb09a5fa1f18e2905cedcc439 (patch)
tree71a816c891ea355529a6a4e0665e0137b4f4810e /Data/Resources/Shaders/Editor-Text.glsl
parent601442f94fc0dcfdc5a117c5f87d90b156d53045 (diff)
+ shader command
Diffstat (limited to 'Data/Resources/Shaders/Editor-Text.glsl')
-rw-r--r--Data/Resources/Shaders/Editor-Text.glsl10
1 files changed, 9 insertions, 1 deletions
diff --git a/Data/Resources/Shaders/Editor-Text.glsl b/Data/Resources/Shaders/Editor-Text.glsl
index 7a88fcf..af76555 100644
--- a/Data/Resources/Shaders/Editor-Text.glsl
+++ b/Data/Resources/Shaders/Editor-Text.glsl
@@ -1,5 +1,13 @@
#version 330 core
+CMD_BEGIN
+
+Cull Both
+DepthTest Off
+Blend SrcAlpha OneMinusSrcAlpha
+
+CMD_END
+
uniform mat4 gamelab_mat_mvp;
uniform sampler2D uiTex;
uniform vec2 uiText_ST;
@@ -31,4 +39,4 @@ void main()
FragColor = sampled;
}
-FSH_END \ No newline at end of file
+FSH_END