git-svn-id: svn://db.shs.com.ru/libs@586 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-09-02 14:08:38 +00:00
parent f862381b68
commit 3d06d2095e
929 changed files with 66799 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#version 120
uniform sampler2D t0, depth;
uniform vec3 backColor;
void main(void) {
//gl_FragColor.rgb=vec3(1,1,1);
if (texture2D(depth, gl_TexCoord[0].xy).x == 1.) {
gl_FragColor.rgb = backColor;
return;
}
gl_FragColor.rgb = texture2D(t0, gl_TexCoord[0].xy).rgb;
}