Commit 886558cf authored by Jan Möbius's avatar Jan Möbius
Browse files

Missed depth copy shader



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18243 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 63db7dea
#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
Supports Markdown
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