mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
bb323c2ebe
* Initial depth-cue implementation * Oops * Finish merge + fix issues with letterboxing * Fix alpha blending * Add some debug options + profiler stats * More debug options + respect xyoffset GS register * Clean up GOAL code * Disable depth-cue by default * typo * very important typo * depth-cue disable, but better
14 lines
209 B
GLSL
14 lines
209 B
GLSL
#version 430 core
|
|
|
|
in flat vec4 fragment_color;
|
|
in vec2 tex_coord;
|
|
|
|
uniform sampler2D tex;
|
|
|
|
out vec4 out_color;
|
|
|
|
void main() {
|
|
// sample texture
|
|
out_color = fragment_color * texture(tex, tex_coord);
|
|
}
|