mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-14 01:20:35 +00:00
neo pipelines; postfx fix
This commit is contained in:
parent
5ac83e4b4c
commit
827ba62671
61 changed files with 3717 additions and 7 deletions
16
src/extras/shaders/simple.frag
Normal file
16
src/extras/shaders/simple.frag
Normal file
|
@ -0,0 +1,16 @@
|
|||
uniform sampler2D tex0;
|
||||
|
||||
in vec4 v_color;
|
||||
in vec2 v_tex0;
|
||||
in float v_fog;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void
|
||||
main(void)
|
||||
{
|
||||
color = v_color*texture(tex0, vec2(v_tex0.x, 1.0-v_tex0.y));
|
||||
color.rgb = mix(u_fogColor.rgb, color.rgb, v_fog);
|
||||
DoAlphaTest(color.a);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue