This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/draw/modes/shaders/common_fullscreen_vert.glsl
Clément Foucault a022811441 DRW: Make fullscreen quad in the background
This is to be able to only draw the background pixels by using a depth
test EQUAL.
2018-12-03 17:19:11 +01:00

11 lines
138 B
GLSL

in vec2 pos;
in vec2 uvs;
out vec4 uvcoordsvar;
void main()
{
uvcoordsvar = vec4(uvs, 0.0, 0.0);
gl_Position = vec4(pos, 1.0, 1.0);
}