Triangles fade from bottom and behave better on antialiased mask edges

This commit is contained in:
2025-12-28 13:29:22 -08:00
parent b9b05ccf4d
commit 92ffe572fc
4 changed files with 45 additions and 11 deletions

12
default.vert Normal file
View File

@@ -0,0 +1,12 @@
#version 440
layout(location = 0) in vec4 qt_Vertex;
layout(location = 1) in vec2 qt_MultiTexCoord0;
layout(location = 0) out vec2 coord;
layout(std140, binding = 0) uniform buf {
mat4 qt_Matrix;
float qt_Opacity;
};
void main() {
coord = qt_MultiTexCoord0;
gl_Position = qt_Matrix * qt_Vertex;
}