Limit screen curvature effect.

This commit is contained in:
Filippo Scognamiglio
2018-11-23 22:35:48 +01:00
parent dead1197bd
commit b8e3cd5d64
4 changed files with 4 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ Item{
id: staticLight
property alias source: framesource
property alias normals: framesourcenormals
property real screenCurvature: appSettings.screenCurvature
property real screenCurvature: appSettings.screenCurvature * appSettings.screenCurvatureSize
property size curvature_coefficients: Qt.size(width / mainShader.width, height / mainShader.height)
property real ambientLight: appSettings.ambientLight * 0.9 + 0.1
property color fontColor: appSettings.fontColor