mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 22:45:00 -04:00
20ab48796d
* split rendering framebuffer * fix blackout * unhardcode c++ stuff * optimization * implement goal side of all this * fix msaa * sprite distort fixes * fix resolution menu options * save & load msaa * linear filtering on the game screen * fix bad texture units * fun! * unused * make screenshot button capture the framebuffer and not the window buffer * panik * screenshot settings * fix black screen on first frame of new framebuffer * default fullscreen resolution to the screen size * hide funny resolutions in windowed since it makes no sense
11 lines
182 B
GLSL
11 lines
182 B
GLSL
#version 430 core
|
|
|
|
layout (location = 0) in vec2 position_in;
|
|
|
|
out vec2 screen_pos;
|
|
|
|
void main() {
|
|
gl_Position = vec4(position_in, 0, 1.0);
|
|
screen_pos = (position_in + 1) / 2;
|
|
}
|