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

This commit is contained in:
2015-11-30 21:45:46 +00:00
parent 36ba0a0ba7
commit 5ca76b651b
8 changed files with 42 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
#version 130
#version 150
in vec4 pos;
void main(void) {
gl_FragColor.r = 1. / gl_FragCoord.w;
qgl_FragData[0].r = 1. / pos.w;
}