Modify shader scale

was just applying the scale from 1280 instead of 960
This commit is contained in:
Michael 2017-12-25 13:56:56 -08:00
parent 6e8e0e4e95
commit b67c93bb62

View File

@ -2,7 +2,7 @@
include 'Source/functions.php'; include 'Source/functions.php';
$fullWidth = $argv[1]; $fullWidth = $argv[1];
$fullHeight = $argv[2]; $fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0); $scaleFactorX = always_decimal_format($fullWidth / 960.0);
$scaleFactorY = always_decimal_format($fullHeight / 720.0); $scaleFactorY = always_decimal_format($fullHeight / 720.0);
?> ?>
#version 420 #version 420