git-svn-id: svn://db.shs.com.ru/libs@53 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user