mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 11:34:15 +01:00
[XCX] Two pass blur prelim scaling... again
Input to two-pass is pre-blured, so full res scaling is overkill.
This commit is contained in:
parent
ecd43c948d
commit
9feef75009
@ -9,9 +9,9 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
|||||||
#version 420
|
#version 420
|
||||||
#extension GL_ARB_texture_gather : enable
|
#extension GL_ARB_texture_gather : enable
|
||||||
// shader 4d4b09634a7eab30
|
// shader 4d4b09634a7eab30
|
||||||
// Last step vertical blend - _disabled probably overkill.
|
// Last step vertical blend. half tv scaled + pre-blending = aprox half step reduction
|
||||||
// To-do candidate for multi pass / bokeh replacement
|
// To-do candidate for multi pass / bokeh replacement
|
||||||
const float resScale = <?=$scaleFactorX?>;
|
const float resScale = <?=round($scaleFactorY)/2?>;
|
||||||
uniform ivec4 uf_remappedPS[7];
|
uniform ivec4 uf_remappedPS[7];
|
||||||
layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4fde000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0
|
layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4fde000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0
|
||||||
layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf51aa000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0
|
layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf51aa000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0
|
@ -5,13 +5,13 @@ $fullHeight = $argv[2];
|
|||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
#version 420
|
#version 420
|
||||||
#extension GL_ARB_texture_gather : enable
|
#extension GL_ARB_texture_gather : enable
|
||||||
// shader 5eb82314ffb8484e // bg scale, probably overkill to scale
|
// shader 5eb82314ffb8484e // bg scale, probably overkill to scale
|
||||||
// Bgscale - _disabled probably overkill.
|
// Last step vertical blend. half tv scaled + pre-blending = aprox half step reduction
|
||||||
// To-do candidate for multi pass / bokeh replacement
|
// To-do candidate for multi pass / bokeh replacement
|
||||||
const float resScale = <?=$scaleFactorX?>;
|
const float resScale = <?=round($scaleFactorY)/2?>;
|
||||||
|
|
||||||
//const float resScale = 2.0;
|
//const float resScale = 2.0;
|
||||||
uniform ivec4 uf_remappedPS[7];
|
uniform ivec4 uf_remappedPS[7];
|
||||||
layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0
|
layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0
|
Loading…
Reference in New Issue
Block a user