mirror of
https://github.com/open-goal/jak-project
synced 2026-07-31 00:14:38 -04:00
fix texture anim shader on macOS (#2870)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 430 core
|
||||
#version 410 core
|
||||
|
||||
out vec4 color;
|
||||
|
||||
@@ -10,12 +10,12 @@ uniform float alpha_multiply;
|
||||
|
||||
in vec2 uv;
|
||||
|
||||
layout (binding = 0) uniform sampler2D tex;
|
||||
uniform sampler2D tex_T0;
|
||||
|
||||
void main() {
|
||||
|
||||
if (enable_tex == 1) {
|
||||
vec4 tex_color = texture(tex, uv);
|
||||
vec4 tex_color = texture(tex_T0, uv);
|
||||
vec4 unscambled_tex = vec4(tex_color[channel_scramble[0]],
|
||||
tex_color[channel_scramble[1]],
|
||||
tex_color[channel_scramble[2]],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#version 430 core
|
||||
#version 410 core
|
||||
|
||||
layout (location = 0) in int vertex_index;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user