mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 00:32:27 +00:00
47 lines
1.0 KiB
GLSL
47 lines
1.0 KiB
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 time;
|
|
vec4 fontColor;
|
|
vec4 backgroundColor;
|
|
float shadowLength;
|
|
vec2 virtualResolution;
|
|
float rasterizationIntensity;
|
|
int rasterizationMode;
|
|
float burnInLastUpdate;
|
|
float burnInTime;
|
|
float burnIn;
|
|
float staticNoise;
|
|
float screenCurvature;
|
|
float glowingLine;
|
|
float chromaColor;
|
|
vec2 jitterDisplacement;
|
|
float ambientLight;
|
|
float jitter;
|
|
float horizontalSync;
|
|
float horizontalSyncStrength;
|
|
float flickering;
|
|
float displayTerminalFrame;
|
|
vec2 scaleNoiseSize;
|
|
float screen_brightness;
|
|
float bloom;
|
|
float rbgShift;
|
|
float screenShadowCoeff;
|
|
float frameShadowCoeff;
|
|
vec4 frameColor;
|
|
vec2 margin;
|
|
float prevLastUpdate;
|
|
};
|
|
|
|
layout(location = 0) out vec2 qt_TexCoord0;
|
|
|
|
void main() {
|
|
qt_TexCoord0 = qt_MultiTexCoord0;
|
|
gl_Position = qt_Matrix * qt_Vertex;
|
|
}
|