mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
ef0f7635d3
* first pass at ocean mid * fix some bugs * fix seams * cleanup * temp * fix mipmap
12 lines
302 B
GLSL
12 lines
302 B
GLSL
#version 430 core
|
|
|
|
layout (location = 0) in vec2 position_in;
|
|
layout (location = 1) in vec2 tex_coord_in;
|
|
|
|
out vec2 tex_coord;
|
|
uniform float scale;
|
|
void main() {
|
|
gl_Position = vec4(position_in.x * scale - (1 - scale), position_in.y * scale - (1 - scale), 0.5, 1.0);
|
|
tex_coord = tex_coord_in;
|
|
}
|