Merge pull request #158 from boredhuman/dev

fixed issues with stencil testing
This commit is contained in:
MCRcortex
2025-10-29 20:45:22 +10:00
committed by GitHub
3 changed files with 26 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;
}