mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 03:24:15 +01:00
NSMBU Proper Float Casting (#270)
* Update 70b82af4d17024d2_0000000000000000_vs.txt * Update ec4a85d51e778437_0000000000000000_vs.txt
This commit is contained in:
parent
bb152f6dd0
commit
cff6321de9
@ -1,11 +1,12 @@
|
||||
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_packing : enable
|
||||
// shader 70b82af4d17024d2
|
||||
//AA fix
|
||||
const float resScale = intBitsToFloat($width)/intBitsToFloat($gameWidth);
|
||||
|
||||
const float resScale = float($width)/float($gameWidth);
|
||||
|
||||
uniform ivec4 uf_remappedVS[1];
|
||||
uniform vec2 uf_windowSpaceToClipSpaceTransform;
|
||||
layout(location = 0) in uvec4 attrDataSem0;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
@ -6,7 +5,7 @@
|
||||
// shader ec4a85d51e778437
|
||||
//box blur fix
|
||||
|
||||
const float resScale = intBitsToFloat($width)/intBitsToFloat($gameWidth);
|
||||
const float resScale = float($width)/float($gameWidth);
|
||||
|
||||
uniform ivec4 uf_remappedVS[1];
|
||||
uniform vec2 uf_windowSpaceToClipSpaceTransform;
|
||||
|
Loading…
Reference in New Issue
Block a user