Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8
uniform sampler2D strokeDepth; void main() { ivec2 texel = ivec2(gl_FragCoord.xy); gl_FragDepth = texelFetch(strokeDepth, texel, 0).r; }