fixed issues with stencil testing

This commit is contained in:
Daniel
2025-10-27 16:32:54 -04:00
parent b15b70860b
commit b6741241f6
2 changed files with 22 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
#version 330 core
layout(binding = 0) uniform sampler2D depthTex;
in vec2 UV;
void main() {
gl_FragDepth = texture(depthTex, UV).r;
}