summaryrefslogtreecommitdiff
path: root/source/shaders
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-04-06 20:25:30 +0500
committertalha <talha@talhaamir.xyz>2024-04-06 20:25:30 +0500
commitdcf84e28b5367dfa737cc2dfbf8d4c1afbf21cba (patch)
treeddec195c8813455e330934063655f51e0dea2a00 /source/shaders
parentf2e3f39b15bd22e2aa727bf4669b6e52186e31c7 (diff)
Completed blending
Diffstat (limited to 'source/shaders')
-rw-r--r--source/shaders/blend_test.fs.glsl (renamed from source/shaders/stencil_outline.fs.glsl)4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/shaders/stencil_outline.fs.glsl b/source/shaders/blend_test.fs.glsl
index 63d6a75..23daa14 100644
--- a/source/shaders/stencil_outline.fs.glsl
+++ b/source/shaders/blend_test.fs.glsl
@@ -8,5 +8,7 @@ uniform vec4 hlt_color;
out vec4 FragColor;
void main() {
- FragColor = hlt_color;
+ vec4 tex = texture(TexId, TexCoords);
+
+ FragColor = tex;
}