mirror of
https://github.com/open-goal/jak-project
synced 2026-07-06 14:01:20 -04:00
2e18cb605a
* optimize sprite texture flush + update shaders * fix bugs * change logic a bit * crunch PNGs * hud size fix * clang * remove shaders from list * use really small alpha cut-off point for sprites * ad `flat` to vertex shaders too * increase cut-off very slightly * take *2 into account * ok for real this should be good enough
12 lines
218 B
GLSL
12 lines
218 B
GLSL
// Debug shader for drawing things in red. Uses the same conventions as direct_basic, see there for more details
|
|
|
|
#version 430 core
|
|
|
|
out vec4 color;
|
|
|
|
in vec4 fragment_color;
|
|
|
|
void main() {
|
|
color = fragment_color;
|
|
}
|