Commit 8a776e84 authored by Jan Möbius's avatar Jan Möbius

Missed depth copy shader



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18243 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 984fac93
#version 150
uniform sampler2D DepthTex;
uniform float DepthSign;
in vec2 vTexCoord;
out vec4 oColor;
void main()
{
oColor = vec4(1.0, 1.0, 1.0, 1.0);
gl_FragDepth = texture2D(DepthTex, vTexCoord).x * DepthSign;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment