1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 15:42:12 +00:00

Improve rasterization rendering and add LCD rasterization (with subpixels).

This commit is contained in:
Filippo Scognamiglio
2021-07-03 16:14:02 +02:00
parent 701cb540e5
commit 7714f7b503
9 changed files with 159 additions and 57 deletions

View File

@@ -89,6 +89,10 @@ Loader {
}
}
ShaderLibrary {
id: shaderLibrary
}
ShaderEffect {
id: burnInShaderEffect
@@ -118,9 +122,7 @@ Loader {
uniform highp float prevLastUpdate;" +
"float rgb2grey(vec3 v){
return dot(v, vec3(0.21, 0.72, 0.04));
}" +
shaderLibrary.rgb2grey +
"void main() {
vec2 coords = qt_TexCoord0;