Texture quality is actually working. (And also quite useful for high-dpi screens).

This commit is contained in:
Filippo Scognamiglio
2014-10-11 01:24:20 +02:00
parent d4ca781e90
commit 438c50d775
7 changed files with 70 additions and 42 deletions

View File

@@ -46,10 +46,10 @@ ShaderEffect {
property bool frameReflections: shadersettings.frameReflections
property real disp_top: frame.item.displacementTop / height
property real disp_bottom: frame.item.displacementBottom / height
property real disp_left: frame.item.displacementLeft / width
property real disp_right: frame.item.displacementRight / width
property real disp_top: (frame.item.displacementTop * shadersettings.window_scaling) / height
property real disp_bottom: (frame.item.displacementBottom * shadersettings.window_scaling) / height
property real disp_left: (frame.item.displacementLeft * shadersettings.window_scaling) / width
property real disp_right: (frame.item.displacementRight * shadersettings.window_scaling) / width
property real screen_brightness: shadersettings.brightness * 1.5 + 0.5