This repository has been archived on 2020-09-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
libs/qglview/shaders/shadow.frag

8 lines
81 B
GLSL

#version 150
in vec4 pos;
void main(void) {
qgl_FragData[0].r = 1. / pos.w;
}