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 screenCurvature: appSettings.screenCurvature * appSettings.screenCurvatureSize
property real shadowLength: 0.5 * screenCurvature * Utils.lint(0.50, 1.5, _ambientLight) property real shadowLength: 0.5 * screenCurvature * Utils.lint(0.50, 1.5, _ambientLight)
visible: screenCurvature != 0
fragmentShader: " fragmentShader: "
#ifdef GL_ES #ifdef GL_ES
precision mediump float; precision mediump float;

View File

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