summaryrefslogtreecommitdiff
path: root/source/shaders/stencil_outline.fs.glsl
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-04-06 17:12:09 +0500
committertalha <talha@talhaamir.xyz>2024-04-06 17:12:09 +0500
commit01b9720fe0d3ea2285986044b75118f90dd59f36 (patch)
tree97fa61b948a0abf4274602d06cb837493fb1a8db /source/shaders/stencil_outline.fs.glsl
parent21439a3eeb0a91e1f0f3f653492574b6a79e867d (diff)
Completed Stencil Testing
Diffstat (limited to 'source/shaders/stencil_outline.fs.glsl')
-rw-r--r--source/shaders/stencil_outline.fs.glsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/shaders/stencil_outline.fs.glsl b/source/shaders/stencil_outline.fs.glsl
new file mode 100644
index 0000000..63d6a75
--- /dev/null
+++ b/source/shaders/stencil_outline.fs.glsl
@@ -0,0 +1,12 @@
+#version 330 core
+
+
+in vec2 TexCoords;
+in vec3 VertexWorldPos;
+uniform sampler2D TexId;
+uniform vec4 hlt_color;
+out vec4 FragColor;
+
+void main() {
+ FragColor = hlt_color;
+}