mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 07:40:34 +00:00
changes to librw layer, GLES now runtime choice
This commit is contained in:
parent
448c56647f
commit
8c70c2a136
30 changed files with 568 additions and 182 deletions
|
@ -1,16 +1,17 @@
|
|||
uniform sampler2D tex0;
|
||||
|
||||
in vec4 v_color;
|
||||
in vec2 v_tex0;
|
||||
in float v_fog;
|
||||
|
||||
out vec4 color;
|
||||
FSIN vec4 v_color;
|
||||
FSIN vec2 v_tex0;
|
||||
FSIN float v_fog;
|
||||
|
||||
void
|
||||
main(void)
|
||||
{
|
||||
vec4 color;
|
||||
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);
|
||||
|
||||
FRAGCOLOR(color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue