mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-29 04:44:15 +01:00
[Splatoon] Fix lower resolutions
This commit is contained in:
parent
ef7ef17f4d
commit
4bfe35cd13
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user