From fb67e0d20264e615545e3af2b9fa8e18eb50526e Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 31 Oct 2021 20:19:31 +0800 Subject: * shader compiler --- Data/Resources/Shaders/Editor-Text.glsl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Data/Resources/Shaders/Editor-Text.glsl') 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 -- cgit v1.1-26-g67d0