From 4b24de9ef863f54eb09a5fa1f18e2905cedcc439 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 31 Oct 2021 17:13:50 +0800 Subject: + shader command --- Data/Resources/Shaders/Editor-Text.glsl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Data/Resources') 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 -- cgit v1.1-26-g67d0