summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc
diff options
context:
space:
mode:
author cgwg <cgwg@users.noreply.github.com>2022-07-07 10:15:55 +0100
committer GitHub <noreply@github.com>2022-07-07 19:15:55 +1000
commit75466ad87d2af99d05b0c5b84e661523734d710b (patch)
tree0a11390cf8d214d52155666910e1910fb192bfac /src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc
parentf3fb60fee6fb83c80e776fcfd1bd271dc83d126f (diff)
bgfx: crt-geom and crt-geom-deluxe improvements: (#8653)
* crt-geom-deluxe: Increased number of taps for halation and increased maximum width. * crt-geom*: Moved repeated crt-geom/crt-geom-deluxe functions into their own file. * crt-geom and crt-geom-deluxe: added support for sRGB output gamma ramp and made it the default.
Diffstat (limited to '')
-rw-r--r--src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc b/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc
index 3ff1e07f236..0b7ff9b411f 100644
--- a/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc
+++ b/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussy.sc
@@ -1,5 +1,5 @@
$input a_position, a_texcoord0, a_color0
-$output v_texCoord, v_coeffs
+$output v_texCoord, v_coeffs, v_coeffs2
#include "common.sh"
@@ -11,6 +11,7 @@ void main()
{
float wid = u_width.x*u_tex_size0.y/(320.*u_aspect.y);
v_coeffs = exp(vec4(1.,4.,9.,16.)*vec4_splat(-1.0/wid/wid));
+ v_coeffs2 = exp(vec4(25.,36.,49.,64.)*vec4_splat(-1.0/wid/wid));
// Do the standard vertex processing.
gl_Position = mul(u_viewProj, vec4(a_position.xy, 0.0, 1.0));