[Splatoon] Fix lower resolutions

This commit is contained in:
Michele 2020-01-01 11:50:33 -08:00
parent ef7ef17f4d
commit 4bfe35cd13
6 changed files with 13 additions and 13 deletions

View File

@ -3,8 +3,8 @@
#extension GL_ARB_shading_language_packing : enable
// shader 0b9b8f5dfa16ad58
// Used for: Horizontal Menu Blur Pass
const float resXScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
uniform ivec4 uf_remappedVS[5];
uniform vec2 uf_windowSpaceToClipSpaceTransform;

View File

@ -3,8 +3,8 @@
#extension GL_ARB_shading_language_packing : enable
// shader 5c1761d13feccdff
// Used for: Background DoF
const float resXScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
uniform ivec4 uf_remappedVS[1];
uniform vec2 uf_windowSpaceToClipSpaceTransform;

View File

@ -3,8 +3,8 @@
#extension GL_ARB_shading_language_packing : enable
// shader 6f5412f28bd716e8
// Used for: Horizontal Bloom Pass
const float resXScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
uniform ivec4 uf_remappedVS[1];
uniform vec2 uf_windowSpaceToClipSpaceTransform;

View File

@ -3,8 +3,8 @@
#extension GL_ARB_shading_language_packing : enable
// shader a0bda935c83e6f2a
// Used for: Vertical Bloom Pass
const float resXScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
uniform ivec4 uf_remappedVS[1];
uniform vec2 uf_windowSpaceToClipSpaceTransform;

View File

@ -1,11 +1,11 @@
#version 420
#extension GL_ARB_texture_gather : enable
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_packing : enable
// shader ae5bf21625f134f3
// Used for: Squid Sisters TV
float origRatio = (float(1280)/float(720));
float newRatio = (float($width)/float($height));
const float origRatio = float($gameWidth)/float($gameHeight);
const float newRatio = float($width)/float($height);
uniform ivec4 uf_remappedVS[7];
uniform vec2 uf_windowSpaceToClipSpaceTransform;
layout(location = 0) in uvec4 attrDataSem0;

View File

@ -3,8 +3,8 @@
#extension GL_ARB_shading_language_packing : enable
// shader fc3e63a2007625f8
// Used for: Vertical Menu Blur Pass
const float resXScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
const float resXScale = float($width)/float($gameWidth);
const float resYScale = float($height)/float($gameHeight);
uniform ivec4 uf_remappedVS[5];
uniform vec2 uf_windowSpaceToClipSpaceTransform;