summaryrefslogtreecommitdiff
path: root/Data/Resources/Shaders/Editor-Text.glsl
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-04 12:48:01 +0800
committerchai <chaifix@163.com>2021-11-04 12:48:01 +0800
commit94a9a28de16badb75e66a60efca3b01d31cc0fc6 (patch)
treea37e09236da2b7cda11a451d6fed4fe37afb065c /Data/Resources/Shaders/Editor-Text.glsl
parentb215d811a1981e20f35bb31df4e6cd2a74146193 (diff)
* text anchor
Diffstat (limited to 'Data/Resources/Shaders/Editor-Text.glsl')
-rw-r--r--Data/Resources/Shaders/Editor-Text.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Data/Resources/Shaders/Editor-Text.glsl b/Data/Resources/Shaders/Editor-Text.glsl
index 03ec5a7..d1003c3 100644
--- a/Data/Resources/Shaders/Editor-Text.glsl
+++ b/Data/Resources/Shaders/Editor-Text.glsl
@@ -39,7 +39,8 @@ void main()
//vec2 uv = vec2(uv.x, 1 - uv.y);
vec4 sampled = vec4(0.8,0.8,0.8,texture(gamelab_main_tex, uv).r);
sampled *= color;
- //sampled = vec4(1,1,1,1);
+ // if(sampled.a == 0)
+ // sampled = vec4(1,0,0,1);
FragColor = sampled;
}
FSH_END