From dcf84e28b5367dfa737cc2dfbf8d4c1afbf21cba Mon Sep 17 00:00:00 2001 From: talha Date: Sat, 6 Apr 2024 20:25:30 +0500 Subject: Completed blending --- .../lessons/stencil_testing/shaders/stencil_outline.fs.glsl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 source/lessons/stencil_testing/shaders/stencil_outline.fs.glsl (limited to 'source/lessons/stencil_testing/shaders/stencil_outline.fs.glsl') diff --git a/source/lessons/stencil_testing/shaders/stencil_outline.fs.glsl b/source/lessons/stencil_testing/shaders/stencil_outline.fs.glsl new file mode 100644 index 0000000..63d6a75 --- /dev/null +++ b/source/lessons/stencil_testing/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; +} -- cgit v1.2.3