Framebuffer #487

Merged
Swordfish90 merged 8 commits from framebuffer into master 2018-12-03 22:18:44 +01:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 77dc82a381 - Show all commits

View File

@ -13,8 +13,6 @@ ShaderEffect {
property real screenCurvature: appSettings.screenCurvature * appSettings.screenCurvatureSize
property real shadowLength: 0.5 * screenCurvature * Utils.lint(0.50, 1.5, _ambientLight)
visible: screenCurvature != 0
fragmentShader: "
#ifdef GL_ES
precision mediump float;

View File

@ -481,9 +481,13 @@ Item {
"gl_FragColor = vec4(finalColor, qt_Opacity);" +
"}"
NewTerminalFrame {
Loader {
anchors.fill: parent
blending: true
active: screenCurvature !== 0
sourceComponent: NewTerminalFrame {
blending: true
}
}
onStatusChanged: {