fixed issues with stencil testing
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#version 330 core
|
||||
|
||||
layout(binding = 0) uniform sampler2D depthTex;
|
||||
|
||||
in vec2 UV;
|
||||
void main() {
|
||||
gl_FragDepth = texture(depthTex, UV).r;
|
||||
}
|
||||
Reference in New Issue
Block a user