mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 22:45:00 -04:00
afd7ee4504
* consistent texture unit binding for screen * change default pc settings for window size & display mode
14 lines
232 B
GLSL
14 lines
232 B
GLSL
#version 430 core
|
|
|
|
in vec2 screen_pos;
|
|
|
|
out vec4 color;
|
|
|
|
uniform vec4 fragment_color;
|
|
|
|
layout (binding = 0) uniform sampler2D screen_tex;
|
|
|
|
void main() {
|
|
color = vec4(texture(screen_tex, screen_pos).rgb * fragment_color.a, 1.0);
|
|
}
|