mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
fix texture anim shader on macOS (#2870)
This commit is contained in:
parent
0ee20a255e
commit
426851720f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue