works properly!

This commit is contained in:
ManDude
2022-01-10 04:56:40 +00:00
parent e35541f701
commit 440f915196
2 changed files with 5 additions and 2 deletions
@@ -40,9 +40,9 @@ void main() {
// T0.w = 1.0;
// }
// vec4 tex_color = fragment_color * T0 * 2.0;
vec4 tex_color = fragment_color;
vec4 tex_color = fragment_color * 2.0;
if (tex_color.a < 0.016) {
// discard;
}
color = fragment_color;
color = tex_color;
}
@@ -135,6 +135,9 @@ void main() {
transformed.x /= (256);
transformed.y /= -(128);
// hack
transformed.xyz *= transformed.w;
gl_Position = transformed;
// scissoring area adjust
// gl_Position.y *= 512.0/448.0;