RetroArch/gfx/drivers/rsx_shaders/modern_alpha_blend.fcg
OsirizX 0549223677
(PSL1GHT) Add improvements to the RSX driver (#14965)
* remove var error in psl1ght input

* (psl1ght) add modern_alpha_blend and modern_opaque rsx shaders

* (psl1ght) add perf improvements to the rsx driver

* add rsx gfx for psl1ght

* (psl1ght) set rsx as a compatible video driver

* Do xmb menu scaling for psl1ght

* (psl1ght) update Makefile to use latest shaders and more UI menu options
2023-02-10 08:29:45 +01:00

15 lines
255 B
Plaintext

void main
(
uniform sampler2D texture,
uniform float4 bgcolor,
float2 texcoord : TEXCOORD0,
float4 color : COLOR,
out float4 oColor : COLOR
)
{
if (bgcolor.a > 0.0)
oColor = bgcolor;
else
oColor = tex2D(texture, texcoord) * color;
}