This commit is contained in:
Vasily Petrov 2026-06-18 01:18:29 +03:00
commit 2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#include "common.hlsli"
struct v2p
{
float2 tc0 : TEXCOORD0; // base
};
// Pixel
float4 main(p_TL I) : SV_Target
{
float4 r = s_base.Sample(smp_base, I.Tex0);
r.w = 1 - r.w;
return r;
}
/*
float4 main( v2p I ) : SV_Target
{
// float4 r = tex2D (s_base,I.tc0);
float4 r = s_base.Sample( smp_base, I.tc0 );
// r.x = 1 - r.x;
// r.y = 1 - r.y;
// r.z = 1 - r.z;
r.w = 1 - r.w;
return r;
}
*/