[WW] Scaling test verified

Commited
This commit is contained in:
getdls 2018-01-02 02:40:03 +01:00
parent 411d0de8cc
commit b1fdf1e32d

View File

@ -2,13 +2,13 @@
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1920.0);
$scaleFactorY = always_decimal_format($fullHeight / 1080.0);
$scaleFactorX = always_decimal_format($fullWidth / 1920.0*1.5);
$scaleFactorY = always_decimal_format($fullHeight / 1080.0*1.5);
?>
#version 420
#extension GL_ARB_texture_gather : enable
#extension GL_ARB_shading_language_packing : enable
// shader 1f83c0d47b1c4c34 // half res blur
// shader 1f83c0d47b1c4c34 // half res blur. Horizon, detail shadows, bloom base
const float resScale = <?=$scaleFactorY?>;
uniform ivec4 uf_remappedVS[1];