mirror of
https://github.com/open-goal/jak-project
synced 2026-08-07 10:16:45 -04:00
25e105aa5d
Implements the envmap for the ocean generated by `ocean-method-89`/`ocean-method-88`. While the resulting envmap looks accurate compared to PCSX2 in Renderdoc, the end result does not seem 100% identical, but it is a big improvement over the default placeholder texture. Closes #3417
7 lines
186 B
GLSL
7 lines
186 B
GLSL
#version 410 core
|
|
layout (location = 0) in vec2 position_in;
|
|
out vec2 tex_coord;
|
|
void main() {
|
|
gl_Position = vec4(position_in, 0.0, 1.0);
|
|
tex_coord = (position_in + 1.0) * 0.5;
|
|
} |