diff options
author | chai <chaifix@163.com> | 2021-10-31 17:13:50 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-31 17:13:50 +0800 |
commit | 4b24de9ef863f54eb09a5fa1f18e2905cedcc439 (patch) | |
tree | 71a816c891ea355529a6a4e0665e0137b4f4810e /Data/Resources/Shaders | |
parent | 601442f94fc0dcfdc5a117c5f87d90b156d53045 (diff) |
+ shader command
Diffstat (limited to 'Data/Resources/Shaders')
-rw-r--r-- | Data/Resources/Shaders/Editor-Text.glsl | 10 |
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 |