mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 19:13:45 +00:00
15 lines
255 B
Plaintext
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;
|
||
|
}
|