mirror of
https://github.com/open-goal/jak-project
synced 2026-06-29 19:42:41 -04:00
510b23163f
- fix issue where animated textures that use the size-override feature, and aren't being animated would show up as black - fix for black water in spargus - fix issue where animated texture uses another animated texture as an input wouldn't get the animated version. - fix math mistake in how animated texture rotations are handled. This could cause textures to not rotate when a positions were rotated, but textures (st's) weren't. - fix definition of the ring texture to handle set-alpha-texture-anim-layer-func   https://github.com/user-attachments/assets/0242a59d-62bd-4799-8f6f-2a0aba63649f Co-authored-by: water111 <awaterford1111445@gmail.com>
11 lines
195 B
GLSL
11 lines
195 B
GLSL
#version 410 core
|
|
|
|
layout (location = 0) in vec2 position_in;
|
|
|
|
out vec2 tex_coord;
|
|
|
|
void main() {
|
|
gl_Position = vec4(position_in, 0, 1.0);
|
|
tex_coord = (position_in + vec2(1.0, 1.0)) * 0.5;
|
|
}
|