summaryrefslogtreecommitdiff
path: root/Data
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-31 20:19:31 +0800
committerchai <chaifix@163.com>2021-10-31 20:19:31 +0800
commitfb67e0d20264e615545e3af2b9fa8e18eb50526e (patch)
tree236f3cdad56ccfa41f04f4b7443cbbd037ed6b48 /Data
parent9e0ad4279c8ccf2f419694e4ca15a1372e8b20d6 (diff)
* shader compiler
Diffstat (limited to 'Data')
-rw-r--r--Data/Resources/Shaders/Editor-Text.glsl8
1 files changed, 2 insertions, 6 deletions
diff --git a/Data/Resources/Shaders/Editor-Text.glsl b/Data/Resources/Shaders/Editor-Text.glsl
index f589e07..e20d36b 100644
--- a/Data/Resources/Shaders/Editor-Text.glsl
+++ b/Data/Resources/Shaders/Editor-Text.glsl
@@ -1,11 +1,9 @@
#version 330 core
CMD_BEGIN
-
-Cull Both
+Cull Off
Blend SrcAlpha OneMinusSrcAlpha
DepthTest Off
-
CMD_END
uniform mat4 gamelab_mat_mvp;
@@ -24,7 +22,6 @@ void main()
gl_Position = clip;
uv = vUV;
}
-
VSH_END
FSH_BEGIN
@@ -38,5 +35,4 @@ void main()
vec4 sampled = vec4(1,1,1,texture(uiTex, uv).r);
FragColor = sampled;
}
-
-FSH_END
+FSH_END \ No newline at end of file