mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
16 lines
306 B
GLSL
16 lines
306 B
GLSL
|
#version 450
|
||
|
#extension GL_GOOGLE_include_directive : enable
|
||
|
|
||
|
layout (set = 0, binding = 0) uniform
|
||
|
#include "matrices.h"
|
||
|
;
|
||
|
|
||
|
layout (set = 1, binding = 0) uniform sampler2D Input;
|
||
|
layout (location = 0) out vec4 frag_color;
|
||
|
|
||
|
void
|
||
|
main (void)
|
||
|
{
|
||
|
frag_color = texture (Input, gl_FragCoord.xy * ScreenSize);
|
||
|
}
|