Downgrade shaders further
This commit is contained in:
parent
8d5972d943
commit
13ce059bdf
|
@ -2,10 +2,8 @@
|
|||
|
||||
uniform sampler2D font_sampler;
|
||||
|
||||
in vec2 f_tex_pos;
|
||||
in vec4 f_color;
|
||||
|
||||
varying out vec4 Target0;
|
||||
varying vec2 f_tex_pos;
|
||||
varying vec4 f_color;
|
||||
|
||||
void main() {
|
||||
float alpha = texture2D(font_sampler, f_tex_pos).r;
|
||||
|
@ -14,5 +12,5 @@ void main() {
|
|||
discard;
|
||||
}
|
||||
|
||||
Target0 = f_color * vec4(1.0, 1.0, 1.0, alpha);
|
||||
gl_FragColor = f_color * vec4(1.0, 1.0, 1.0, alpha);
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
uniform mat4 transform;
|
||||
|
||||
in vec2 tex_pos;
|
||||
in vec3 pos;
|
||||
in vec4 color;
|
||||
attribute vec2 tex_pos;
|
||||
attribute vec3 pos;
|
||||
attribute vec4 color;
|
||||
|
||||
varying vec2 f_tex_pos;
|
||||
varying vec4 f_color;
|
||||
|
|
Loading…
Reference in New Issue