Files
jak-project/game/graphics/opengl_renderer/shaders/ocean_envmap.vert
T
Hat Kid 25e105aa5d jak2/3: implement ocean envmap (#4303)
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
2026-06-07 07:27:43 +02:00

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;
}