8 lines
81 B
GLSL
8 lines
81 B
GLSL
#version 150
|
|
|
|
in vec4 pos;
|
|
|
|
void main(void) {
|
|
qgl_FragData[0].r = 1. / pos.w;
|
|
}
|