jak-project/game/graphics/opengl_renderer/shaders/depth_cue.frag
Ethan Lafrenais bb323c2ebe
Depth Cue (#1676)
* 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
2022-07-19 18:34:30 -04:00

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);
}