mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 08:42:22 +00:00
24 lines
498 B
GLSL
24 lines
498 B
GLSL
#version 440
|
|
|
|
layout(location = 0) in vec4 qt_Vertex;
|
|
layout(location = 1) in vec2 qt_MultiTexCoord0;
|
|
|
|
layout(std140, binding = 0) uniform ubuf {
|
|
mat4 qt_Matrix;
|
|
float qt_Opacity;
|
|
float screenCurvature;
|
|
vec4 frameColor;
|
|
float frameSize;
|
|
float screenRadius;
|
|
vec2 viewportSize;
|
|
float ambientLight;
|
|
float frameShininess;
|
|
};
|
|
|
|
layout(location = 0) out vec2 qt_TexCoord0;
|
|
|
|
void main() {
|
|
qt_TexCoord0 = qt_MultiTexCoord0;
|
|
gl_Position = qt_Matrix * qt_Vertex;
|
|
}
|